Skip to content

Conversation

@herwinw
Copy link
Member

@herwinw herwinw commented Jan 29, 2026

Float::INIFINITY is now supported, but -Float::INFINITY and Float::NAN are other special values.

The negative infinity value overlaps with the regular negative values, but it does cover the scenario where a Ruby implementation would just check for float.infinity? in a boolean context for no timeout.

Since `(-Float::INFINITY).infinite?` returns a truthy value, this should
probably be covered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant