Skip to content

number:toString fixes#3557

Merged
Astralcircle merged 1 commit intowiremod:masterfrom
Astralcircle:tostring
Mar 18, 2026
Merged

number:toString fixes#3557
Astralcircle merged 1 commit intowiremod:masterfrom
Astralcircle:tostring

Conversation

@Astralcircle
Copy link
Contributor

@Astralcircle Astralcircle commented Mar 16, 2026

Disallows nan and applies the fix suggested by Vurv If you we disallow nan, self.prf will also become nan, which could likely cause problems/easily cause an infinite loop

Fixes #3539

Disallows nan and applies the fix suggested by Vurv
If you we disallow nan, `self.prf`` will also become nan, which could likely cause problems/easily cause an infinite loop

Fixes wiremod#3539
@Astralcircle Astralcircle merged commit db99507 into wiremod:master Mar 18, 2026
1 check passed
@Astralcircle Astralcircle deleted the tostring branch March 18, 2026 02:10
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.

Unexpected String=number:toString(number base) output

1 participant