Skip to content

Commit

Permalink
Updates the return values to reflect what the product actually return…
Browse files Browse the repository at this point in the history
  • Loading branch information
JPryce-Aklundh and gem-neo4j authored Oct 2, 2023
1 parent 38d304c commit 9169ec0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions modules/ROOT/pages/functions/mathematical-logarithmic.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ e(expression)
|===

| `exp(null)` returns `null`.
| `exp()` returns `Infinity` when the return value is greater than the largest `FLOAT` value (Java Double.MAX_VALUE).

|===

Expand Down Expand Up @@ -161,7 +162,8 @@ log(expression)
|===

| `log(null)` returns `null`.
| `log(0)` returns `null`.
| `log(0)` returns `-Infinity`.
| If (`expression` < 0), then (`log(expression)`) returns `NaN`.

|===

Expand Down Expand Up @@ -226,7 +228,8 @@ log10(expression)
|===

| `log10(null)` returns `null`.
| `log10(0)` returns `null`.
| `log10(0)` returns `-Infinity`.
| If (`expression` < 0), then (`log10(expression)`) returns `NaN`.

|===

Expand Down Expand Up @@ -291,7 +294,7 @@ sqrt(expression)
|===

| `sqrt(null)` returns `null`.
| `sqrt(<any negative number>)` returns `NaN`
| If (`expression` < 0), then (`sqrt(expression)`) returns `NaN`.

|===

Expand Down
6 changes: 3 additions & 3 deletions modules/ROOT/pages/functions/mathematical-trigonometric.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ acos(expression)
|===

| `acos(null)` returns `null`.
| If (`expression` < -1) or (`expression` > 1), then (`acos(expression)`) returns `null`.
| If (`expression` < -1) or (`expression` > 1), then (`acos(expression)`) returns `NaN`.

|===

Expand Down Expand Up @@ -121,7 +121,7 @@ asin(expression)
|===

| `asin(null)` returns `null`.
| If (`expression` < -1) or (`expression` > 1), then (`asin(expression)`) returns `null`.
| If (`expression` < -1) or (`expression` > 1), then (`asin(expression)`) returns `NaN`.

|===

Expand Down Expand Up @@ -378,7 +378,7 @@ cot(expression)
|===

| `cot(null)` returns `null`.
| `cot(0)` returns `null`.
| `cot(0)` returns `Infinity`.

|===

Expand Down

0 comments on commit 9169ec0

Please sign in to comment.