zig/std
Ben Noordhuis fd75e73ee9 add f16 type
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-27 16:20:04 +02:00
..
atomic remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
c disallow unknown-length pointer to opaque 2018-06-05 18:03:21 -04:00
crypto remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
debug zig fmt 2018-06-20 17:16:27 -04:00
fmt remove bool to int syntax. add @boolToInt 2018-06-18 03:07:16 -04:00
hash remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
math Add float repr bit extraction functions 2018-06-21 01:45:12 -04:00
os remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
rand remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
special add f16 type 2018-06-27 16:20:04 +02:00
zig std.zig.ast: fix incorrect impl of FnProto.firstToken 2018-06-25 11:54:10 -04:00
array_list.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
base64.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
buf_map.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
buf_set.zig breaking syntax change: orelse keyword instead of ?? (#1096) 2018-06-10 01:13:51 -04:00
buffer.zig Fix error handling in Buffer::fromOwnedSlice (#1082) 2018-06-08 19:24:48 -04:00
build.zig std: update stdlib to match updated allocator create signature; ref #733 2018-06-21 00:40:21 +09:00
cstr.zig standard library fixes 2018-06-18 17:43:01 -04:00
dwarf.zig run zig fmt on some of the codebase 2018-05-26 23:00:29 -04:00
dynamic_library.zig update std.DynLib to use @intCast 2018-06-18 00:52:55 -04:00
elf.zig add basic std lib code for loading dynamic libraries 2018-06-16 17:01:23 -04:00
empty.zig recognize ar program and pass --gc-sections to ld 2016-05-11 14:44:10 -07:00
event.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
hash_map.zig breaking syntax change: ??x to x.? (#1095) 2018-06-09 23:42:14 -04:00
heap.zig remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
index.zig add basic std lib code for loading dynamic libraries 2018-06-16 17:01:23 -04:00
io.zig std: update stdlib to match updated allocator create signature; ref #733 2018-06-21 00:40:21 +09:00
io_test.zig run zig fmt on the codebase 2018-05-30 16:09:11 -04:00
json.zig remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum` 2018-06-19 03:50:38 -04:00
json_test.zig Fix json parser comma after empty object case 2018-06-08 17:43:13 +12:00
linked_list.zig remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
macho.zig remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` 2018-06-18 17:25:29 -04:00
mem.zig remove std.mem.Allocator.construct and other fixups 2018-06-20 17:33:29 -04:00
net.zig remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` 2018-06-18 17:25:29 -04:00
segmented_list.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00
sort.zig use * for pointer type instead of & 2018-05-31 17:28:07 -04:00
unicode.zig remove integer and float casting syntax 2018-06-17 02:57:07 -04:00