79131753

Date: 2024-10-28 00:10:19
Score: 1.5
Natty:
Report link

Assuming the implementation of the algorithm is correct. You might be hitting IEEE754 float precision limitations.

In which case you should use the BCMath extension, which handles arbitrary decimals. Using BCMath will be easier and faster in PHP 8.4 as it has a new class that supports operator overloading.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Girgias