mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
previously we used the bigfloat abstraction to do all compile-time float math. but runtime code and comptime code are supposed to get the same result. so now if you add a f32 to a f32 at compile time it does it with f32 math instead of the bigfloat. float literals still get the bigfloat math. closes #424
150 lines
3.8 KiB
150 lines
3.8 KiB