pub trait Float: CDatatype + Log + Trig { // Required methods fn is_inf(self) -> u8; fn is_nan(self) -> u8; }
Float-specific operations on a scalar floating point value
Return 1 if this value is infinite, otherwise 0.
1
0
Return 1 if this value is not a number, otherwise 0.