Re: Numerics
Dominique Colnet <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
josé bollo wrote:
>>>
>>> but one can not write x+1.0
>>
>>
>> I think you can. Here the traditional balancing rule apply and this
>> expression is promoted to REAL_64.
>
>
>
> but i want a REAL_32 as result
So you know the solution as I do. Just write x + {REAL_0 1.0}
--
--------------------------------------------------------------
[email protected] -- IUT (Nancy 2) -- INRIA Lorraine
http://SmartEiffel.loria.fr -- The GNU Eiffel Compiler
POST: Loria, B.P. 239,54506 Vandoeuvre les Nancy Cedex, FRANCE
Voice:+33 0383913140 Mobile: +33 0665362381 Fax:+33 0383581701