[fpc-devel] Pure function Wiki page

Florian Klaempfl florian at freepascal.org
Mon Jul 9 20:07:39 CEST 2018


Am 09.07.2018 um 18:24 schrieb Max Nazhalov via fpc-devel:
> Just one question: doesn't all this new stuff introduce another kind
> of mess during cross-compiling?
> 
> E.g. some complex nested const.expr. "sin(cos(0.12345))" evaluated by
> the compiler on x64 (double precision) is not the same as if it would
> be evaluated by the compiled program itself running on some x32
> (float80), or some future float128 alikes..
> 
> Either the compiler itself must eventually become fully softfloat-based??
> 

Yes, preferable float128 based. However, nobody volunteered so far do so.



More information about the fpc-devel mailing list