Type Function Modf [src]

Alias for std.math.modf.Modf

Prototype

pub fn Modf(comptime T: type) type

Parameters

T: type

Source

pub fn Modf(comptime T: type) type { return struct { fpart: T, ipart: T, }; }