diff options
| author | Alasdair Armstrong | 2018-06-27 14:53:28 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-06-27 17:11:06 +0100 |
| commit | a7e350250069a46652d2f07351701d814024d882 (patch) | |
| tree | 94c306fcc6f97a31071f1fb814b9b6e7b887f038 /lib/sail.h | |
| parent | 0e593f438e79abc494633cb0dce0e6ab7252c82b (diff) | |
Fix real implementation in C to use GMP rationals
Implement square root function for rationals up to an arbitrary
precision, currently 30 decimal places. May need to increase this for
ARM tests.
Diffstat (limited to 'lib/sail.h')
| -rw-r--r-- | lib/sail.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -269,7 +269,7 @@ void reverse_endianness(sail_bits*, sail_bits); /* ***** Sail reals ***** */ -typedef mpf_t real; +typedef mpq_t real; SAIL_BUILTIN_TYPE(real); |
