Patch by John Scipione: Rename the log and log10 functions in DeskCalc to
ln and log, which is hopefully more in line with expectations of users. Thanks a lot! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36463 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -604,10 +604,10 @@ ExpressionParser::_ParseFunction(const Token& token)
|
||||
} else if (strcasecmp("floor", token.string.String()) == 0) {
|
||||
_InitArguments(values, 1);
|
||||
return values[0].floor();
|
||||
} else if (strcasecmp("log", token.string.String()) == 0) {
|
||||
} else if (strcasecmp("ln", token.string.String()) == 0) {
|
||||
_InitArguments(values, 1);
|
||||
return values[0].log();
|
||||
} else if (strcasecmp("log10", token.string.String()) == 0) {
|
||||
} else if (strcasecmp("log", token.string.String()) == 0) {
|
||||
_InitArguments(values, 1);
|
||||
return values[0].log10();
|
||||
} else if (strcasecmp("pow", token.string.String()) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user