#2474 missing bigfloat::signum for bigfloats

closed
None
5
2012-10-05
2012-09-29
No

(%i2) y : -5.6b0$
(%i3) :lisp(bigfloat::signum (meval '$y))
Maxima encountered a Lisp error:
Error in BIGFLOAT-IMPL:SIGNUM [or a callee]: No matching method for the generic-function #<compiled-closure BIGFLOAT-IMPL:SIGNUM>,

Discussion

  • Raymond Toy

    Raymond Toy - 2012-09-29

    $y is not a bigfloat object. You need to do something like

    :lisp (bigfloat:signum (bigfloat:to $y))
    -> -1.0b0

    Did this show up in some other way?

     
  • Barton Willis

    Barton Willis - 2012-10-04

    It did come up in some different way, but I'm pretty sure that I was confused.

     
  • Raymond Toy

    Raymond Toy - 2012-10-05
    • status: open --> closed
     
  • Raymond Toy

    Raymond Toy - 2012-10-05

    No problem. Let me know if you run into any other issues.

    Closing bug.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks