On 5/12/2016 4:32 PM, Marco Leise wrote:
- Unless CTFE uses soft-float implementation, depending on compiler and flags used to compile a D compiler, resulting executable produces different CTFE floating-point results
I've actually been thinking of writing a 128 bit float emulator, and then using that in the compiler internals to do all FP computation with.
It's not a panacea, as it won't change how things work in the back ends, nor will it change what happens at runtime, but it means the front end will give portable, consistent results.
