Differences in results when using the same function in CTFE and Runtime
Dom DiSc
dominikus at scherkl.de
Thu Aug 15 10:25:45 UTC 2024
On Wednesday, 14 August 2024 at 07:54:15 UTC, claptrap wrote:
> I agree the compiler should actually use the float precision
> you explicitly ask for.
But if you do cross compiling, that may simply be not possible
(because the target has different hardware implementation than
the hardware the compiler runs on).
Also relying on specific inaccuracy of FP calculations is very
bad design.
More information about the Digitalmars-d
mailing list