`<cmath>`: Tolerate 80-bit `long double` by statementreply · Pull Request #6021 · microsoft/STL · GitHub
Skip to content

<cmath>: Tolerate 80-bit long double#6021

Merged
StephanTLavavej merged 1 commit into
microsoft:mainfrom
statementreply:80-bit-lerp
Jan 20, 2026
Merged

<cmath>: Tolerate 80-bit long double#6021
StephanTLavavej merged 1 commit into
microsoft:mainfrom
statementreply:80-bit-lerp

Conversation

@statementreply

@statementreply statementreply commented Jan 17, 2026

Copy link
Copy Markdown
Contributor

Use the same code for long double lerp overloads as other math functions. This avoids calling long double _Common_lerp, which inspects long double's bit representation.

@StephanTLavavej

Copy link
Copy Markdown
Member

@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Jan 17, 2026
@StephanTLavavej StephanTLavavej added the enhancement Something can be improved label Jan 17, 2026
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Jan 20, 2026
@StephanTLavavej

Copy link
Copy Markdown
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 2d6f26b into microsoft:main Jan 20, 2026
45 checks passed
@github-project-automation github-project-automation Bot moved this from Merging to Done in STL Code Reviews Jan 20, 2026
@StephanTLavavej

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants