Math Scalar Library
Programming Reference Manual Fortran
Version 1.0 DD-00003-110

4.3 strunc - Truncate to nearest integral part

function strunc (x)
function struncf(x)

Given a value x this function rounds x to the nearest integral part less or equal than |x| .