axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Axiom-developer] Compiler coercion and DoubleFloat


From: Bill Page
Subject: RE: [Axiom-developer] Compiler coercion and DoubleFloat
Date: Sun, 26 Feb 2006 20:50:21 -0500

On February 26, 2006 11:45 AM Vanuxem Grégory wrote:
> 
> Is it possible to avoid this compiler coercion ?
> 
> The code is:
>         R ==> DoubleFloat
>         two4: R := 24.0
>         fourty: R := 40.0::R
>         exp40: R := 235385266837019985.41::R
> 

It is not necessary to write this as a coercion. Try

  float(23538526683701998541,-2,10)$DoubleFloat

'float' is the function defined in the domain DoubleFloat
that is analogous to the one in Float.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]