Menu

#3 Negative powers

open
nobody
None
5
2005-06-04
2005-06-04
Anonymous
No

The program does not seem to deal well with negative
powers. I am using version 0.4. When I try
$ mmcalc "1^(-10)"
I get
1^(-10)=inf
Which is clearly not true, as 1^x=1
This could very very misleading for someone without
much mathematical knowlege.

Work around:
Just do 1/expression, and use a positive power. So for
$ mmcalc "1^(-10)"
just use
$ mmcalc "1/(1^(10))"
These are mathematically identical.

My email address is
infinity[RemoveThis]42[at]gmail[dot]com if you need to
contact me.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.