Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Signedness of bits from floats


After some thought, I believe it's useful to have the same signedness
when converting between flts and bits (patch 1). In the process, I
found a small bug in isnan() (patch 2). Tests are added to hopefully
prevent me from breaking everything.

There was also a "22" in flt32assem that I'm pretty sure should
be a "23" (also in patch 2), but that function doesn't appear used,
so that's not a big deal.

S. Gilles (2):
  Adjust signs of fltbits functions
  Test some fltbits functions

 lib/std/fltbits.myr      | 44 +++++++++++-----------
 lib/std/fltfmt.myr       |  2 +-
 lib/std/fltparse.myr     |  4 +-
 lib/std/test/fltbits.myr | 95 +++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 120 insertions(+), 25 deletions(-)

-- 
2.16.2


Follow-Ups:
[PATCH 1/2] Adjust signs of fltbits functions"S. Gilles" <sgilles@xxxxxxxxxxxx>
[PATCH 2/2] Test some fltbits functions"S. Gilles" <sgilles@xxxxxxxxxxxx>
Re: [PATCH 0/2] Signedness of bits from floatsOri Bernstein <ori@xxxxxxxxxxxxxx>