[fpc-devel] Pure function Wiki page

Thorsten Engler thorsten.engler at gmx.net
Mon Jul 9 19:36:01 CEST 2018


> -----Original Message-----
> From: fpc-devel <fpc-devel-bounces at lists.freepascal.org> On Behalf Of
> Max Nazhalov via fpc-devel
> Sent: Tuesday, 10 July 2018 02:25
> 
> 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.. 

How would that be any different from floating point consts currently that are defined with an expression involving calculations?




More information about the fpc-devel mailing list