-
Notifications
You must be signed in to change notification settings - Fork 101
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 ldexpf16
, ldexpf128
, scalbnf16
, and scalbnf128
#391
base: master
Are you sure you want to change the base?
Conversation
Edit: done in #392. I cherry picked that commit here but that one should probably merge first. |
13238e7
to
84597eb
Compare
84597eb
to
3d70168
Compare
e6907f5
to
31a58aa
Compare
scalbnf16
and scalbnf128
ldexpf16
, ldexpf128
, scalbnf16
, and scalbnf128
0b59cdc
to
c4eca7d
Compare
c3df336
to
b0e4038
Compare
b1b01c5
to
58775fc
Compare
b0e4038
to
cd3ef7a
Compare
b617507
to
336a6b6
Compare
cd3ef7a
to
b801ddd
Compare
e9d7e6c
to
4d58493
Compare
4d58493
to
c997735
Compare
I think the f16 version is running into the same issue as #419 (comment) (among other issues) so I am just going to drop that for now, keeping only scalbnf128. |
Oh, interesting; the same problem seems to be showing up for the
Testing with the new (unreleased) version of Rug returns 0x00000000000000000000000000000001, so I will just wait for that release. |
7394ee7
to
ca979f9
Compare
ca979f9
to
946f6ec
Compare
|
9d32668
to
9fe11d3
Compare
Use the generic `scalbn` to provide `f16` and `f128` versions, which also work for `ldexp`.
9fe11d3
to
80b1394
Compare
The
scalbn
functions are similar enough that they can easily be made generic. Do so andf16
andf128
versions.