-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
More more builtins #2452
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
More more builtins #2452
Conversation
Also add their AEABI aliases, __aeabi_i2f & __aeabi_i2d
Add AEABI builtin __aeabi_d2f
Add AEABI builtins __aeabi_ul2d, __aeabi_ui2d
Add AEABI builtin __aeabi_l2d
Add AEABI builtin __aeabi_f2d
Nice! I think this is most of the work to adding |
Done ;) |
testing.expect(r == expected); | ||
} | ||
|
||
test "floatdidf" { |
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.
Why is this test in a separate file? While e.g. floatsiXf
has tests in the same file?
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.
There's a precedent for having them in a separate file to save space of the shipped .zig files. However it's not required.
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.
I don't mind either way, I just think it should be consistent.
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.
I try to put long test cases in a separate file and keep short ones at the bottom of the file where the implementation is.
Another day, another dump.