mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-10-10 05:07:23 +00:00
- adding Platform.LittleEndian to centralize endianness detection - using SYSTEM.GET with correct byte offset for HUGEINT to smaller type reads on big-endian - fixing Reals.BytesToHex iteration direction and InitEndian for big-endian - fixing oocLowReal fraction, IsInfinity, IsNaN using Reals.Expo/SetExpo - fixing Math.ToREAL and MathL.exponent for big-endian - fixing In.Int and In.LongInt for big-endian - fixing outtest.wh byte iteration direction for big-endian - regenerating all bootstrap C sources - tested on ppc32
25 lines
602 B
C
25 lines
602 B
C
/* voc 2.1.0 [2026/07/12]. Bootstrapping compiler for address size 8, alignment 8. xrtspaSF */
|
|
|
|
#ifndef Out__h
|
|
#define Out__h
|
|
|
|
#include "SYSTEM.h"
|
|
|
|
|
|
import BOOLEAN Out_IsConsole;
|
|
|
|
|
|
import void Out_Char (CHAR ch);
|
|
import void Out_Flush (void);
|
|
import void Out_Hex (INT64 x, INT64 n);
|
|
import void Out_Int (INT64 x, INT64 n);
|
|
import void Out_Ln (void);
|
|
import void Out_LongReal (LONGREAL x, INT16 n);
|
|
import void Out_Open (void);
|
|
import void Out_Real (REAL x, INT16 n);
|
|
import void Out_String (CHAR *str, ADDRESS str__len);
|
|
import LONGREAL Out_Ten (INT16 e);
|
|
import void *Out__init(void);
|
|
|
|
|
|
#endif // Out
|