We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submitted by: Claudio Valderrama C. (robocop)
Is related to QA348
Unlike ln(number), the log(base, number) function doesn't check its parameters. Examples of what happens with illegal params follow:
SQL> select log(2, 00) from rdb$database;
LOG
======================= -1.#INF00000000000
SQL> select log(2, -2) from rdb$database;
======================= -1.#IND00000000000
SQL> select log(0, 1) from rdb$database;
======================= -0.0000000000000000
SQL> select log(0, 2) from rdb$database;
SQL> select log(-1, 2) from rdb$database;
SQL> select log(-1, 0) from rdb$database;
SQL> select log(-1, -1) from rdb$database;
Commits: 142f989
The text was updated successfully, but these errors were encountered:
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.5 Beta 1 [ 10251 ]
assignee: Adriano dos Santos Fernandes [ asfernandes ]
Sorry, something went wrong.
Link: This issue is related to QA348 [ QA348 ]
Commented by: @pcisar
QA test added.
status: Resolved [ 5 ] => Closed [ 6 ]
QA Status: No test
QA Status: No test => Done successfully
asfernandes
No branches or pull requests
Submitted by: Claudio Valderrama C. (robocop)
Is related to QA348
Unlike ln(number), the log(base, number) function doesn't check its parameters. Examples of what happens with illegal params follow:
SQL> select log(2, 00) from rdb$database;
=======================
-1.#INF00000000000
SQL> select log(2, -2) from rdb$database;
=======================
-1.#IND00000000000
SQL> select log(0, 1) from rdb$database;
=======================
-0.0000000000000000
SQL> select log(0, 2) from rdb$database;
=======================
-0.0000000000000000
SQL> select log(-1, 2) from rdb$database;
=======================
-1.#IND00000000000
SQL> select log(-1, 0) from rdb$database;
=======================
-1.#IND00000000000
SQL> select log(-1, -1) from rdb$database;
=======================
-1.#IND00000000000
Commits: 142f989
The text was updated successfully, but these errors were encountered: