"real? sqrt (-sqrt 2)" returns "true" by default.
Because interpreter prefers CTRIGMNP over TRIGMNIP
as shown by ")set mes bot on":
Function Selection for real?
Arguments: AN
[1] signature: EXPR(COMPLEX(INT)) -> BOOLEAN
implemented: slot (Boolean)(Expression (Complex (Integer))) from
CTRIGMNP(INT,EXPR(COMPLEX(INT)))
[2] signature: EXPR(INT) -> BOOLEAN
implemented: slot (Boolean)(Expression (Integer)) from
TRIGMNIP(INT,EXPR(INT))
Shall we consider this a bug?
- Qian
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fricas-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/3221f108-fb2c-4057-b9c2-08fc3e2a620b%40gmail.com.