@floatToInt
@floatToInt
@floatToInt(comptime DestType: type, float: anytype) DestType
Converts the integer part of a floating point number to the destination type.
If the integer part of the floating point number cannot fit in the destination type, it invokes safety-checked Undefined Behavior.
See also:
- @intToFloat
