axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] Comments are wanted on for i in 1..1 repeat print(sin(


From: Vladimir Bondarenko
Subject: [Axiom-developer] Comments are wanted on for i in 1..1 repeat print(sin(i) :: Complex Float)
Date: Thu, 13 Jan 2005 11:30:28 +0200

Hello all,

Is it possible to hear any comments on this stuff?

-> for i in 1..1 repeat print(i :: Complex Float)
   1.0

-> for i in 1..1 repeat print(1/i :: Complex Float)
   1.0

-> sin(1) :: Complex Float
   0.8414709848 0789650665

-> print(sin(1) :: Complex Float)
   0.8414709848 0789650665

   
-- Shouldn't one expect here the floats?


-> for i in 1..1 repeat print(sin(i) :: Complex Float)
   sin(1)

The same behavior with many other functions.

for i in 1..1 repeat print(sqrt(i) :: Complex Float)
for i in 1..1 repeat print(exp(i) :: Complex Float)
for i in 1..1 repeat print(log(i) :: Complex Float)
for i in 1..1 repeat print(atan(i) :: Complex Float)

While I cannot boast sweating over the docs too much,
even with my minimal Axiom expertise level, I'd still
rate this as a bug. If I am not right, why?

Much thanks for any help/hints in advance.
   

Best,

Vladimir





reply via email to

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