-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add specs for universal floating-point numbers #1826
Conversation
@@ -55,7 +55,7 @@ a {b: math.acos(1.000000000001)} | |||
|
|||
<===> one_fuzzy/output.css | |||
a { | |||
b: 0deg; | |||
b: NaNdeg; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't the case of being fuzzy equal to the bound be handled in math.acos
instead of returning NaN ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I missed sass/sass@498fda6 so this is actually expected
spec/core_functions/math/round.hrx
Outdated
|
||
<===> up/within_precision/output.css | ||
a { | ||
b: 1; | ||
b: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not consistent with the test name, which says it would round up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call; this test is now redundant with down/within_precision
, so I'll remove it.
Closes #1819
[skip dart-sass]