Home
Feedback Tracker
Search
Configure Global Search
Log In
Transactions
T178278
Change Details
Change Details
Old
New
Diff
Negative numbers get clamped to 1.70141e+38 Can be worked-around by using `-Math.Ceil(-number)` instead. Example: ``` > Math.Floor(float.MAX); 1.70141e+38 // Half of what it should be (7effffff, should be 7f7fffff) > -Math.Ceil(-float.MAX); 3.40282e+38 // Correct result ```
Numbers get clamped to 1.70141e+38 Can be worked-around by using `-Math.Ceil(-number)` instead. Example: ``` > Math.Floor(float.MAX); 1.70141e+38 // Half of what it should be (7effffff, should be 7f7fffff) > -Math.Ceil(-float.MAX); 3.40282e+38 // Correct result ```
N
egative n
umbers get clamped to 1.70141e+38 Can be worked-around by using `-Math.Ceil(-number)` instead. Example: ``` > Math.Floor(float.MAX); 1.70141e+38 // Half of what it should be (7effffff, should be 7f7fffff) > -Math.Ceil(-float.MAX); 3.40282e+38 // Correct result ```
Continue