As far as I know float can represent 14 numbers precisely.
So let's say we have
a = 564214623154 b = 54252 and we multiply this c=a*b and it should be 30609771735350808 but when compiled it shows me 3.0609771735351E+16 So as I understand it should lose some precision but when I divide c by a c/a I get 564214623154 exact result without any precision lost
another example lets say we have
c = 30609771735350808 d = 30609761111111111 e=c-d should be 10624239697 but when compiled it shows me 10624239696 so precision is lost
So is precision lost only when I subtract or add two numbers?
If it matters I use php