-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Math.Round, Math.ILogB, and do some minor cleanup of Half, Si…
…ngle, and Double (#98040) * Simplify the fallback implementation for Math.Round * Improve some of the floating-point classification APIs * Improve the algorithm used for ILogB * Do some minor cleanup of functions in Half, Single, and Double * Fix a build failure * Ensure Half.IsNormal and Half.IsSubnormal casts to ushort so the domain stays correct * Make sure BitDecrement checks `IsFinite(x)` not `IsFinite(bits)`
- Loading branch information
1 parent
bdd5d32
commit 62d7c6a
Showing
7 changed files
with
483 additions
and
482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.