Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

abs(numeric*constant) should immediately evaluate #39

Closed
rwst opened this issue May 5, 2015 · 1 comment
Closed

abs(numeric*constant) should immediately evaluate #39

rwst opened this issue May 5, 2015 · 1 comment
Labels
Milestone

Comments

@rwst
Copy link
Member

rwst commented May 5, 2015

sage: abs(2*pi)
abs(2*pi)
sage: abs(2.*pi)
abs(2.00000000000000*pi)

In abs_eval the nonnegative case of arg is already handled but obviously does not work with a mul here. Do those flags have any purpose at all (see #40)?

@rwst rwst added the bug label May 5, 2015
@rwst rwst added this to the 0.3.8 milestone May 5, 2015
@rwst
Copy link
Member Author

rwst commented May 8, 2015

Fixed in GiNaC, here ba8793c and fb74f18.

@rwst rwst closed this as completed May 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant