On 1/11/24 15:47, tag Knife wrote:
On Thu, 11 Jan 2024 at 21:29, Jorg Sowa <jorg.s...@gmail.com> wrote:

Hello everyone!

I want to start the discussion on the RFC: Raising zero to the power of
negative number

Link: https://wiki.php.net/rfc/raising_zero_to_power_of_negative_number

Kind regards,
Jorg


  IEEE 754 dictates that an infinity should be the expected output for all
these scenarios.


If I'm reading the text of IEEE 754-2019 correctly, it means that the division by zero error should occur when an operation on finite operands gives an exact infinite result.

"The divideByZero exception shall be signaled if and only if an exact infinite result is defined for an operation on finite operands."

Cheers,
Ben

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to