(%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>,
$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?
It did come up in some different way, but I'm pretty sure that I was confused.
No problem. Let me know if you run into any other issues.
Closing bug.
Log in to post a comment.
$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?
It did come up in some different way, but I'm pretty sure that I was confused.
No problem. Let me know if you run into any other issues.
Closing bug.