Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1089 acot(0.0) vs acot(0)

closed
nobody
5
2008-08-24
2007-01-25
Raymond Toy
No

acot(0) -> %pi/2. Ok

acot(0.0) -> domain error.

Is that expected? I would have expected acot(0.0) -> 1.57....

But limit(acot(x),x,0,'minus) -> -%pi/2.

What do we want?

Discussion

  • Robert Dodier
    Robert Dodier
    2007-03-03

    • labels: --> Lisp Core - Floating point
     
  • Dan Gildea
    Dan Gildea
    2008-08-24

    • status: open --> closed
     
  • Dan Gildea
    Dan Gildea
    2008-08-24

    Logged In: YES
    user_id=1797506
    Originator: NO

    In trigi.lisp rev 1.32:

    (%i21) acot(0.0);
    (%o21) 1.570796326794897