zig/test/behavior
Andrew Kelley dc62dde982 behavior test: use expectApproxEqAbs instead of expectEqual
This is to account for the small differences in math functions of
different libcs. For example, if the compiler links against glibc,
but the target is musl libc, then these values might be
slightly different.

Arguably, this is a bug in the compiler because comptime should
emulate the target, including rounding errors in libc math
functions. However that behavior is not what this particular test
is intended to cover.
2022-04-27 17:58:26 -07:00
..
2022-02-28 23:20:05 +01:00
2022-04-22 07:52:21 -07:00
2022-03-30 12:10:02 +03:00
2022-03-26 21:20:29 +01:00
2021-10-28 17:33:05 -07:00
2022-03-18 15:02:52 -07:00
2022-04-16 12:23:47 +02:00
2022-02-13 14:42:20 +02:00
2022-03-08 21:10:04 +01:00
2022-03-09 13:53:20 -07:00
2022-04-22 07:52:21 -07:00
2022-03-05 11:31:51 +01:00
2022-01-07 00:06:06 -05:00
2022-04-27 17:24:36 -07:00
2022-02-22 21:57:42 +01:00
2022-04-27 17:24:36 -07:00
2022-03-21 22:01:34 -04:00
2022-04-14 10:12:45 -07:00
2022-03-18 15:02:52 -07:00
2022-03-18 15:02:52 -07:00
2022-03-05 11:31:51 +01:00
2022-03-24 17:04:50 +01:00
2022-03-23 21:40:33 +01:00
2022-03-18 00:12:22 -07:00
2022-02-28 23:20:05 +01:00
2022-03-18 15:02:52 -07:00
2022-04-07 05:04:38 -06:00
2022-03-27 11:49:54 +03:00