[fpc-pascal] Writing floating points to steams
dec12 at avidsoft.com.hk
Sat Jan 16 10:30:39 CET 2016
Sven Barth wrote:
> >>> Should writing binary floating point to a stream note that it's
> IEEE format, just in case anybody ever tries to process it on a
> platform that supports alternatives?
> >> It would be great if storing floating point could be in IEEE, to
> have a standard as reference.
> > I'm not at all sure about this, but I think I've seen something that
> suggested that byte ordering in external representations was covered
> by the standard.
> I've checked recently due to big endian problems in the Castle game
> engine and found out that endianess isn't really covered for floating
Do you imply that, unlike floating point, endianess for integers are
handled automatically by TStream?
More information about the fpc-pascal