Skip to content

Conversation

@mame
Copy link
Member

@mame mame commented Nov 8, 2024

... instead, just calculate the value unless it is too big. Also, this change raises an ArgumentError if it is expected to exceed 16 GB in a 64-bit environment.

(It is possible to calculate it straightforward, but it would likely be out-of-memory, so I didn't think it would make sense.)

@mame mame force-pushed the power-no-rounding-to-inf branch from 4e0880a to 0499ac6 Compare November 8, 2024 05:51
@mame mame requested a review from nobu November 8, 2024 05:51
@launchable-app

This comment has been minimized.

@mame mame force-pushed the power-no-rounding-to-inf branch 3 times, most recently from 59727df to af90572 Compare November 8, 2024 07:16
mame added 2 commits November 8, 2024 18:18
... instead, just calculate the value unless it is too big.
Also, this change raises an ArgumentError if it is expected to exceed
16 GB in a 64-bit environment.

(It is possible to calculate it straightforward, but it would likely be
out-of-memory, so I didn't think it would make sense.)

[Feature #20811]
@mame mame force-pushed the power-no-rounding-to-inf branch from af90572 to bb2abcc Compare November 8, 2024 09:19
@mame mame enabled auto-merge (rebase) November 8, 2024 09:19
@mame mame merged commit c348a4f into ruby:master Nov 8, 2024
72 checks passed
@mame mame deleted the power-no-rounding-to-inf branch November 8, 2024 14:14
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.

2 participants