Tulipmania
Newbie level 4
float modf(float x, float *ipart)
splits the floating point number x into integer and fractional components.
The fractional part of x is returned as a signed floating point number.
The integer part is stored as floating point number at ipart.
"how would be the format of the instruction if i want to split the float number 22.5?"
what is the format of the function prototype and the function call?
splits the floating point number x into integer and fractional components.
The fractional part of x is returned as a signed floating point number.
The integer part is stored as floating point number at ipart.
"how would be the format of the instruction if i want to split the float number 22.5?"
what is the format of the function prototype and the function call?