diff options
| author | Wink Saville <wink@saville.com> | 2018-12-05 16:50:33 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2018-12-12 00:21:42 -0500 |
| commit | 634d11ab28839ebc3caae2bf18cbc028a7a1c3e9 (patch) | |
| tree | 7bc045c19029230e9a0b4a3545cf8ce76ba823af /std/coff.zig | |
| parent | 5f5364ad73dc6c31e1e189596f407970f852701a (diff) | |
| download | zig-634d11ab28839ebc3caae2bf18cbc028a7a1c3e9.tar.gz zig-634d11ab28839ebc3caae2bf18cbc028a7a1c3e9.zip | |
Add add compiler_rt routines for float to signed integer conversion
And add std.math.f128_* constants.
The routines are:
__fixdfdi, __fixdfsi, __fixdfti,
__fixsfdi, __fixsfsi, __fixsfti,
__fixtfdi, __fixtfsi, __fixtfti.
These all call fixint which is a generic zig function that does the
conversion:
pub fn fixint(comptime fp_t: type, comptime fixint_t: type, a: fp_t) fixint_t
There are also a set tests:
__fixdfdi_test, __fixdfsi_test, __fixdfti_test,
__fixsfdi_test, __fixsfsi_test, __fixsfti_test,
__fixtfdi_test, __fixtfsi_test, __fixtfti_test.
Diffstat (limited to 'std/coff.zig')
0 files changed, 0 insertions, 0 deletions
