| 1 |
Help is welcome. |
| 2 |
---------------- |
| 3 |
|
| 4 |
For Put (Item : Big_Float; Exp => 0), we could spare time and space by |
| 5 |
claiming less digits if we can know the decimal exponent E in advance. |
| 6 |
We need roughly Aft + E digits. Any idea to do that quick? |
| 7 |
|
| 8 |
make clean ; grep -ir todo . |
| 9 |
|
| 10 |
See if gcc -dump-ada-spec can generate the thin binding. |
| 11 |
|
| 12 |
Port to other operating systems. This should not be very difficult as |
| 13 |
long as the GNAT Ada compiler and the GMP library are ported on that |
| 14 |
platform. It may be convenient to use pragma Import (Foo, "mpz_foo", |
| 15 |
GMP_Prefix & "mpz_foor");, but it may be more complex than it seems, |
| 16 |
since there are MANY prefixes used by the GCC version of GMP... |
| 17 |
|
| 18 |
Add the complex type provided by libmpc, with conventions from the |
| 19 |
ARM. |
| 20 |
|
| 21 |
If somebody is aware about Remote_Types and such esoteric things, |
| 22 |
please see what ameliorations can be made. |
| 23 |
|
| 24 |
Child package Big_Rationals provides, guess what, an integer fraction |
| 25 |
type. Get/Put/Image/Value are not provided for this type, since it is |
| 26 |
hard to find something useful for everyone with bases, exponents, |
| 27 |
space and fractions bar conventions...), and easy to build your own |
| 28 |
procedures using the Big_Integer Text_IO procedures. If someone uses |
| 29 |
it, (s)he'll have to define a clean interface. |