| 299 | |
| 300 | #if 0 |
| 301 | bool Encoder::isIntRepresentable(float n) noexcept { |
| 302 | return (n <= INT32_MAX && n >= INT32_MIN && n == floorf(n)); |
| 303 | } |
| 304 | |
| 305 | bool Encoder::isIntRepresentable(double n) noexcept { |
| 306 | return (n <= INT64_MAX && n >= INT64_MIN && n == floor(n)); |
nothing calls this directly
no outgoing calls
no test coverage detected