Module libc/float
C11 <float.h> — floating-point implementation limits.
Stability
unstable — a raw C binding, not a Yo design, and currently unused:
nothing in the tree imports it. Yo has its own float limits as real
comptime constants on the types — f64.MAX, f64.MIN_POSITIVE,
f64.EPSILON, f64.INFINITY, f64.NAN and the f32 set, in
std/math — and std/math's header explains why they are Yo literals
rather than these macros: FLT_MAX and friends are C macros expanding
to rvalues, which are not compile-time values to Yo and cannot be an
inout receiver. Use std/math. This file stays for the case of a
transcribed C prototype that mentions a limit by name.
Constants
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: f32>
Value: <unknown: int>
Value: <unknown: f32>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: f32>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: f64>
Value: <unknown: int>
Value: <unknown: f64>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: f64>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: longdouble>
Value: <unknown: int>
Value: <unknown: longdouble>
Value: <unknown: int>
Value: <unknown: int>
Value: <unknown: longdouble>
Value: <unknown: int>
Value: <unknown: int>