| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-09-25 | mv std/ lib/ | Andrew Kelley | |
| that's all this commit does. further commits will fix cli flags and such. see #2221 | |||
| 2019-02-08 | std.debug.assert: remove special case for test builds | Andrew Kelley | |
| Previously, std.debug.assert would `@panic` in test builds, if the assertion failed. Now, it's always `unreachable`. This makes release mode test builds more accurately test the actual code that will be run. However this requires tests to call `std.testing.expect` rather than `std.debug.assert` to make sure output is correct. Here is the explanation of when to use either one, copied from the assert doc comments: Inside a test block, it is best to use the `std.testing` module rather than assert, because assert may not detect a test failure in ReleaseFast and ReleaseSafe mode. Outside of a test block, assert is the correct function to use. closes #1304 | |||
| 2018-07-09 | zig fmt | Andrew Kelley | |
| 2018-06-30 | add std.math f16 nan support | Ben Noordhuis | |
| refs #1122 | |||
| 2018-06-27 | add f16 type | Ben Noordhuis | |
| Add support for half-precision floating point operations. Introduce `__extendhfsf2` and `__truncsfhf2` in std/special/compiler_rt. Add `__gnu_h2f_ieee` and `__gnu_f2h_ieee` as aliases that are used in Windows builds. The logic in std/special/compiler_rt/extendXfYf2.zig has been reworked and can now operate on 16 bits floating point types. `extendXfYf2()` and `truncXfYf2()` are marked `inline` to work around a not entirely understood stack alignment issue on Windows when calling the f16 versions of the builtins. closes #1122 | |||
| 2018-06-21 | add casting docs, __extenddftf2, and __extendsftf2 | Andrew Kelley | |
