Skip to content

Conversation

MightyJosip
Copy link
Member

@MightyJosip MightyJosip commented Jun 3, 2025

Fix #3412

When using NaN as argument, skip the drawing (of that part of function)

@MightyJosip MightyJosip requested a review from a team as a code owner June 3, 2025 09:51
Copy link
Member

@ankith26 ankith26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if you added testcases for this

return NULL; \
}

#define CHECK_NAN(value) ((unsigned int)value == 0x80000000)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather have something like isnan from math.h instead of this

@ankith26 ankith26 added this to the 2.5.6 milestone Jun 7, 2025
@Starbuck5
Copy link
Member

Hello, marking this as a draft because there are unresolved comments.

@Starbuck5 Starbuck5 marked this pull request as draft July 27, 2025 08:15
@Starbuck5 Starbuck5 removed this from the 2.5.6 milestone Oct 9, 2025
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.

NaNs completely deadlock draw.line

3 participants