30.08.2014, 21:41
Well, since I just do it to improve my pawn skills, I can't stick to format.
I've read about the IEEE 754 standard that the floats are stored using this schema :
sign exposant mantissa
1 bit...8 bits.....23 bits
But I'm still stuck with a problem : do the pawn stores the floats in bytes or in cells ?
I haven't took a look to the pawn implementation in c so I absolutely don't know.
The only thing I've looked about and which is related to this topic is the format function that SA-MP uses (or at least seems using).
I looked closer at the %f specifier and so at the AddFloat function, but it's still blurred to me.
I've read about the IEEE 754 standard that the floats are stored using this schema :
sign exposant mantissa
1 bit...8 bits.....23 bits
But I'm still stuck with a problem : do the pawn stores the floats in bytes or in cells ?
I haven't took a look to the pawn implementation in c so I absolutely don't know.
The only thing I've looked about and which is related to this topic is the format function that SA-MP uses (or at least seems using).
I looked closer at the %f specifier and so at the AddFloat function, but it's still blurred to me.

