[Scilab-Dev] GMP/MPFR and scilab.

Collette Yann ycollet at freesurf.fr
Sun Sep 14 13:23:53 CEST 2008


Hello,

In the presentation from Zimmerman 
(http://www.loria.fr/~zimmerma/talks/mpfr-scilab.pdf) - slide 24:

Serge Steer made some comments:
- all the operations are made via strings
- not efficient, and possible lost of precision (if the basis are different)
- loops interpreted in Matlab
- fixed roundoff (to the closest)

What should be the best strategy to implement a GMP/MPFR toolbox in matlab ?
I thought that the best strategy was to:
- define a new type
- overload some operators for this new type
but because overloading doesn't work yet on macros (just on primitives), 
this is not yet the best strategy.

Serge, can you give us some advices ?

Yann COLLETTE




More information about the dev mailing list