[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-math] Is there a cleaner way to convert an expression to float ?
From: |
Francois Maltey |
Subject: |
[Axiom-math] Is there a cleaner way to convert an expression to float ? |
Date: |
18 Apr 2006 19:44:49 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hello,
How can I convert an expression as sin (%pi/5) to a float ?
I can use sin (%pi/5) + 0.0, but I find it's a dirty tick !
(sin (%pi/5))::Float doesn't work.
I refuse to go inside the formula and type : sin (%pi/5::Float).
Is there an other ability ?
François, from France.