Skip to content

Comments

Add isNaN check for align behavior with JVM#2526

Merged
MatkovIvan merged 2 commits intojb-mainfrom
ivan.matkov/nan-check
Oct 27, 2025
Merged

Add isNaN check for align behavior with JVM#2526
MatkovIvan merged 2 commits intojb-mainfrom
ivan.matkov/nan-check

Conversation

@MatkovIvan
Copy link
Member

CMP-8562 iOS: "IllegalArgumentException: Cannot round NaN value" caused by roundToInt()

Release Notes

Fixes - Multiple Platforms

  • Align roundToPx() behavior between platforms: NaN value produces 0 instead of IllegalArgumentException on non-JVM platforms now

@MatkovIvan MatkovIvan requested a review from ASalavei October 24, 2025 17:38
@MatkovIvan MatkovIvan force-pushed the ivan.matkov/nan-check branch from 6c7d709 to 4ed8ed5 Compare October 27, 2025 11:48
@MatkovIvan MatkovIvan merged commit b7b0d5c into jb-main Oct 27, 2025
16 checks passed
@MatkovIvan MatkovIvan deleted the ivan.matkov/nan-check branch October 27, 2025 12:04
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