[][src]Function avr_libc::modf

pub unsafe extern "C" fn modf(__x: f64, __iptr: *mut f64) -> f64

The modf() function breaks the argument \a __x into integral and fractional parts, each of which has the same sign as the argument. It stores the integral part as a double in the object pointed to by \a __iptr.

The modf() function returns the signed fractional part of \a __x.

\note This implementation skips writing by zero pointer. However, the GCC 4.3 can replace this function with inline code that does not permit to use NULL address for the avoiding of storing.