Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Re: [mg4362] Re: c code generation
Posted:
Jul 19, 1996 2:49 AM


It must be said that you can not use a floatingpoint implementation in C to verify Mathematica's exact arithmetic, unless you implement a library in C, which enables you to overload all operations in rational arithmetic (I do not mention symbolic computations).
You can try to use floatingpoint numbers in Mathematica to verify an algorithm in C, but then again, I must admit that is very unclear and at least not transparant to the user, when Mathematica sends its floatingpoint numbers directly to the hardware (like single or double floatingpoint numbers in C), or handles them in software.
Dennis Verschaeren
University of Antwerp (Campus UIA) desk 32 3 820 24 03 InfoProc Numeric Interest Group secr 32 3 820 24 01 Dept. of Math. & Comp. Science telecopier 32 3 820 24 21 Universiteitsplein 1 email: B2610 Wilrijk  Antwerp (Belgium) Dennis.Verschaeren@uia.ua.ac.be




