Re: [DISCUSSION] Adding the "is_integer_safe()" function
| From: | Tim Düsterhus | Date: | Mon, 28 Jul 2025 13:38:00 +0000 |
| Subject: | Re: [DISCUSSION] Adding the "is_integer_safe()" function | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128261@lists.php.net to get a copy of this message | ||
Hi
Am 2025-07-28 15:35, schrieb Tim Düsterhus:
Similarly to my other email: This is false. 2**53 is exactly representable as float. Every power of two (<= 1024) is.Small correction: That should've read
<= 1023 (or < 1024).
Best regards
Tim Düsterhus