working infinite numbers php
to need controlling infinite numbers (100,000+), calls unequivocally infinite calculations.
when i greaten twin infinite numbers (eg: 62574 62574) php seems ban outcome float. removing modulus value advantage uncanny values.
$x = 62574 * 62574;
var_dump($x); // float(3915505476) ... correct
var_dump($x % 104659); // int(-72945) ... wtf.
is there any proceed php perform calculations properly? alternatively, there another slight awaiting modulus values work infinite numbers?
Comments
Post a Comment