[GiNaC-list] Behaviour of evalf()

Martin Sandve Alnæs martinal at simula.no
Wed Nov 14 16:41:03 CET 2007


Is it possible to make evalf() let integer constants stay integers? I
looked in flags.h, but couldn't find anything.

(3*x).evalf()
gives
(3.0)*x

-- 
Martin


More information about the GiNaC-list mailing list