Libc implementation of trunc
Marcel Sondaar
Public Domain
trunc.c | Libc implementation of trunc |
Functions | |
trunc | gets and returns the integer part of x |
works only on systems that use ieee float, since it uses its binary representation |
gets and returns the integer part of x
double trunc( double x )