zig/std/math
Andrew Kelley 987768778a bit shifting safety
* add u3, u4, u5, u6, u7 and i3, i4, i5, i6, i7
 * shift operations shift amount parameter type is
   integer with log2 bit width of other param
   - This enforces not violating undefined behavior on
     shift amount >= bit width with the type system
 * clean up math.log, math.ln, math.log2, math.log10

closes #403
2017-08-19 01:43:43 -04:00
..
acos.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
acosh.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
asin.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
asinh.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
atan2.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
atan.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
atanh.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
cbrt.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
ceil.zig bit shifting safety 2017-08-19 01:43:43 -04:00
copysign.zig workaround for llvm bug 2017-06-19 14:36:33 -04:00
cos.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
cosh.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
exp2.zig more intuitive left shift and right shift operators 2017-08-09 10:09:38 -04:00
exp.zig Fixes for release mode tests 2017-06-21 18:21:11 +12:00
expm1.zig bit shifting safety 2017-08-19 01:43:43 -04:00
expo2.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
fabs.zig better bigint/bigfloat implementation 2017-07-08 17:59:10 -04:00
floor.zig bit shifting safety 2017-08-19 01:43:43 -04:00
fma.zig workaround for llvm bug 2017-06-19 14:36:33 -04:00
frexp.zig Return undefined in frexp instead of 0 on nan input 2017-06-22 19:29:57 +12:00
hypot.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
ilogb.zig more intuitive left shift and right shift operators 2017-08-09 10:09:38 -04:00
index.zig bit shifting safety 2017-08-19 01:43:43 -04:00
inf.zig Add math library 2017-06-16 20:32:31 +12:00
isfinite.zig workaround for llvm bug 2017-06-19 14:36:33 -04:00
isinf.zig workaround for llvm bug 2017-06-19 14:36:33 -04:00
isnan.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
isnormal.zig workaround for llvm bug 2017-06-19 14:36:33 -04:00
ln.zig bit shifting safety 2017-08-19 01:43:43 -04:00
log1p.zig more intuitive left shift and right shift operators 2017-08-09 10:09:38 -04:00
log2.zig bit shifting safety 2017-08-19 01:43:43 -04:00
log10.zig bit shifting safety 2017-08-19 01:43:43 -04:00
log.zig bit shifting safety 2017-08-19 01:43:43 -04:00
modf.zig bit shifting safety 2017-08-19 01:43:43 -04:00
nan.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
pow.zig Fixes for release mode tests 2017-06-21 18:21:11 +12:00
round.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
scalbn.zig Fix scalbn constant multiplier 2017-06-21 18:53:33 +12:00
signbit.zig workaround for llvm bug 2017-06-19 14:36:33 -04:00
sin.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
sinh.zig Fixes for release mode tests 2017-06-21 18:21:11 +12:00
sqrt.zig bit shifting safety 2017-08-19 01:43:43 -04:00
tan.zig Add math special case tests and general fixes 2017-06-20 23:10:22 +12:00
tanh.zig Fixes for release mode tests 2017-06-21 18:21:11 +12:00
trunc.zig bit shifting safety 2017-08-19 01:43:43 -04:00