Maximum float value?
#1

What is the highest value possible for a float value in PAWN?
Reply
#2

Due to how float values work, its safe to say infinite. But precision is lost with higher values.

However, if you dont want to lose any data, then its 2^23. the other 9 bits are used for the exponent and sign.
Reply
#3

I believe this should help:
https://sampforum.blast.hk/showthread.php?tid=352072

more specifically(edit: this is basically what Mauclaw said above)
http://forum.sa-mp.com/showpost.php?...51&postcount=5
Reply
#4

http://www.compuphase.com/pawn/Float...nt_Support.pdf
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)