in reply to Re^5: [OT: JavaScript] JS remainder operation ('%')
in thread [OT: JavaScript] JS remainder operation ('%')
Mind you, I don't think I've ever found a practical use for this capability.D:\>perl -le "printf '%.767g', 0.1;" 0.1000000000000000055511151231257827021181583404541015625 and D:\>perl -le "printf '%.767g', 2 ** -1074;" 4.94065645841246544176568792868221372365059802614324764425585682500675 +50727020875186529 9836361635992379796564695445717730926656710355939796398774796010781878 +12630071319031140 4527845817167848982103688718636056998730723050006387409153564984387312 +47339727316961514 0031715385398074126238565591171026658556686768187039560310624931945271 +59149245532930545 6544401127480129709999541931989409080416563324524757147869014726780159 +35523861155013480 3526493472019379026810710749170333222684475333572083243193609238289345 +83680601060115061 6980975307834227731832924790498252473077637592724787465608477820373446 +96995336470179726 7771758512566055119913150489110145103786273816725095583738973359899366 +48099411642057026 37090279242767544565229087538682506419718265533447265625e-324
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: [OT: JavaScript] JS remainder operation ('%')
by LanX (Saint) on Jan 19, 2024 at 01:25 UTC | |
by choroba (Cardinal) on Jan 19, 2024 at 09:50 UTC | |
by LanX (Saint) on Jan 19, 2024 at 17:32 UTC |