Andrew Kelley
efe34243c6
std.math: add inline to some functions
...
These functions semantically benefit from being inline; it makes sense
that `isInf(x)` where `x` is comptime-known should have a
comptime-known result.
2022-07-13 11:14:46 -07:00
vi
6ad9ac59e7
std.math.float: fix f80-backed c_longdouble consts
2022-04-14 02:55:46 -04:00
Cody Tapscott
319555a669
Add floatFractionalBits to replace floatMantissaDigits
2022-04-12 12:33:16 -07:00
viri
c5c6260534
std.math: generalise inf, even simpler isFinite
2022-04-07 02:38:31 -06:00
viri
5b8ac9821d
derive float constants in a generic way ( #10133 )
2022-04-06 15:50:36 +02:00