Functions
inline fn __builtin___memcpy_chk(dst: ?*anyopaque, src: ?*const anyopaque, len: usize, remaining: usize) ?*anyopaque
No documentation provided.
inline fn __builtin___memset_chk(dst: ?*anyopaque, val: c_int, len: usize, remaining: usize) ?*anyopaque
No documentation provided.
inline fn __builtin_expect(expr: c_long, c: c_long) c_long
The return value of __builtin_expect is
expr
.c
is the expected value of `e…The return value of __builtin_expect is
expr
.c
is the expected value ofexpr
and is used as a hint to the compiler in C. Here it is unused.inline fn __builtin_isinf_sign(x: anytype) c_int
Similar to isinf, except the return value is -1 for an argument of -Inf and 1 fo…
Similar to isinf, except the return value is -1 for an argument of -Inf and 1 for an argument of +Inf.
inline fn __builtin_memcpy(dst: ?*anyopaque, src: ?*const anyopaque, len: usize) ?*anyopaque
No documentation provided.
inline fn __builtin_memset(dst: ?*anyopaque, val: c_int, len: usize) ?*anyopaque
No documentation provided.
fn __builtin_mul_overflow(a: anytype, b: anytype, result: *@TypeOf(a, b)) c_int
No documentation provided.
inline fn __builtin_nanf(tagp: []const u8) f32
returns a quiet NaN. Quiet NaNs have many representations; tagp is used to selec…
returns a quiet NaN. Quiet NaNs have many representations; tagp is used to select one in an implementation-defined way. This implementation is based on the description for __builtin_nan provided in the GCC docs at https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#index-_005f_005fbuiltin_005fnan Comment is reproduced below: Since ISO C99 defines this function in terms of strtod, which we do not implement, a description of the parsing is in order. The string is parsed as by strtol; that is, the base is recognized by leading ‘0’ or ‘0x’ prefixes. The number parsed is placed in the significand such that the least significant bit of the number is at the least significant bit of the significand. The number is truncated to fit the significand field provided. The significand is forced to be a quiet NaN.
If tagp contains any non-numeric characters, the function returns a NaN whose significand is zero. If tagp is empty, the function returns a NaN whose significand is zero.