Breaks the argument x
into an integral part and a fractional part, each of which has the same sign as x
.
Remember to link the math library: valac -X -lm ...
The integral part is stored in output variable iptr
.
x |
A numeric value. |
iptr |
The output variable for the integral part. |