[fpc-pascal] Floating-point number representation on various platforms

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Feb 5 13:39:25 CET 2006


On 05 Feb 2006, at 13:32, Tom Verhoeff wrote:

> Question 2: Any suggestions as to how to make it more platform  
> independent,
> or how to support multiple platforms in an easy way?

The only differences are little/big endian. So if it works on PPC and  
I386, you have support for all platforms. Just use {$ifdef  
FPC_LITTLE_ENDIAN}


Jonas



More information about the fpc-pascal mailing list