Items tagged with evalhf evalhf Tagged Items Feed

One more argument for long double

February 01 2012 by icegood 255 Maple

If there are still doubts to support "long double" in evalhf then there is one more argument to implement them in at least those machines that support it:
CalcInEvalhfFast.mw

P.S. In that well-known holy war about long double supporting in compilers i'm rather on side of "to support them" than on side of (stupid) microsoft visual c++ compiler.

evalhf: more than 500 locals

January 22 2012 by icegood 255 Maple

evalhf: more than 500 locals

From where that restriction is? Is it workaroundable?

In next code g is evalhfable while MainF is not. Is it possible to create appropriate local in IntermediateCalc cover (via appropriate assignments) for fres2 to get MainF evalhfable too? ex.mw

Hi everybody, could any one tell me " What is the job of order  round(evalhf(Digits)) ?

Amr

The first example below seems OK. But, should I be expecting the different behaviour in the second example?


> restart:
> p := module() option package; export foo;
> foo:=proc(x) x; end proc;
> end module:

> foo := proc(x) cos(x); end proc:

> foo(3.2);
-0.9982947758

> p:-foo(3.2);
3.2

> evalhf(p:-foo(3.2)); # OK
3.20000000000000018

> restart:
> p := module() option package; export sin;

Page 1 of 1