mirror of
https://github.com/php/php-src.git
synced 2026-04-22 07:28:09 +02:00
e35bdb4912
The fdiv() function is part of the fmod() / intdiv() family. It implements a floating-point division with IEEE-754 semantics. That is, division by zero is considered well-defined and does not trigger any kind of diagnostic. Instead one of INF, -INF or NAN will be returned, depending on the case. This is in preparation for throwing DivisionByZeroError from the standard division operator.
4.5 KiB
4.5 KiB