[RFC] Add "is_representable_as_float()" and "is_representable_as_int()" functions
| From: | Alexandre Daubois | Date: | Tue, 29 Jul 2025 12:52:04 +0000 |
| Subject: | [RFC] Add "is_representable_as_float()" and "is_representable_as_int()" functions | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-128296@lists.php.net to get a copy of this message | ||
Hi internals,
I would like to present the RFC to add the
"is_representable_as_float()" and "is_representable_as_int()"
functions. These functions provide developers with a way to check
whether values can be losslessly converted between integer and
floating-point representations.
https://wiki.php.net/rfc/is-representable-as-float-int
Best,
Alexandre Daubois