* Renamed `cast-flonum-to-integer' to `cast-ieee754-double-to-integer'.
authorArthur A. Gleckler <gnu@speechcode.com>
Thu, 2 Sep 2010 05:23:39 +0000 (22:23 -0700)
committerArthur A. Gleckler <gnu@speechcode.com>
Thu, 2 Sep 2010 05:23:39 +0000 (22:23 -0700)
commit2b01d17888b36961f2c237766750c22930d45129
tree12d8821e518301e622f201ca2ca669df04256eb1
parent38fff71d886c5d2b6ecb919c019440f0d1363b75
* Renamed `cast-flonum-to-integer' to `cast-ieee754-double-to-integer'.

* Renamed `cast-integer-to-flonum' to `cast-integer-to-ieee754-double'.

* Changed both to use <uint64_t> instead of <unsigned long> for
conversion.  That way, they should work on 32-bit systems.  (Thanks to
Taylor for pointing out that bug.)

* Added `cast-ieee754-single-to-integer' and `cast-integer-to-ieee754-single'.

* Updated existing tests.

* Added tests for casts to and from single-precision floating-point numbers.
src/microcode/flonum.c
tests/microcode/test-flonum-casts.scm