IMLOG10 Function (OpenOffice Calc)
Calculate principal base-10 complex logarithms in Apache OpenOffice, with natural-log scaling, phase units and zero-input errors.
Verification status: Eight reference formulas and 3 diagnostic cases were recalculated in Apache OpenOffice 4.1.16 on Linux x86-64, Build 9816, using XLSX import and GUI hard recalculation. Saved formula identities and typed results were checked. How formula examples are checked
Quick answer: =IMLOG10("3+4i") returned 0.698970004336019+0.402719196273373i in the tested Apache OpenOffice 4.1.16 build.
Availability and version history
- Introduced: First release not established; documented by OpenOffice.org 3.3.
- Supported in: Apache OpenOffice 4.1.16; this identifies a verified release, not a final supported version.
- Scope: Desktop Calc with its Analysis add-in, English function names and semicolon-separated formulas.
- Checked: October 14, 2026. Eight reference formulas and the listed diagnostics were recalculated after XLSX import in 4.1.16 on Linux x86-64, Build 9816. Source and independent reference calculations were also checked.
What IMLOG10 returns
IMLOG10 returns the selected complex logarithm to base 10. It is the principal natural logarithm divided by ln(10), so both the real and imaginary components are scaled. It is not merely LOG10 of the input magnitude with the phase discarded. Release entry.
Syntax and arguments
=IMLOG10(ComplexNumber)
Exactly one nonzero complex-number argument is required. The parser recognizes lowercase i/j forms and pure real forms. Zero and invalid complex text are rejected. The operation inherits its principal phase convention from the natural-log helper.
Reproducible examples
The native column records the saved 4.1.16 results. The native strings are retained exactly. Independent component references are rounded to twelve decimal places, with rounded negative zero shown as zero. A tiny stored residual can therefore appear in the native string beside a reference component rounded to zero. Every successful result below is string-typed, including pure real-looking outputs.
| Formula | Native 4.1.16 string | Independent (real, imaginary) reference |
|---|---|---|
=IMLOG10("3+4i") |
0.698970004336019+0.402719196273373i |
(0.698970004336, 0.402719196273) |
=IMLOG10("3-4i") |
0.698970004336019-0.402719196273373i |
(0.698970004336, -0.402719196273) |
=IMLOG10("-3+4i") |
0.698970004336019+0.961657157568468i |
(0.698970004336, 0.961657157568) |
=IMLOG10("-3-4i") |
0.698970004336019-0.961657157568468i |
(0.698970004336, -0.961657157568) |
=IMLOG10("1") |
0 |
(0, 0) |
=IMLOG10("i") |
0.682188176920921i |
(0, 0.682188176921) |
=IMLOG10("-1") |
1.36437635384184i |
(0, 1.364376353842) |
=IMLOG10("0.5+0.25i") |
-0.252574989159953+0.201359598136687i |
(-0.25257498916, 0.201359598137) |
Practical worksheet
For 3+4i, the real component of =IMLOG10("3+4i") is log10(5)≈0.698970004336. The imaginary component is arg(3+4i)/ln(10)≈0.402719196273. It is a scaled radian phase, not an unscaled angle in degrees.
A cell formula =IMLOG10(A2) uses the complex value in A2. When interpreting the real component as a logarithmic magnitude, apply any domain-specific amplitude or power factor separately. The function alone does not choose a decibel convention.
Advanced interpretation and checks
The implementation first calculates the principal natural logarithm and multiplies by a stored approximation to 1/ln(10). That explains the relationship to IMLN without promising bit-for-bit equality for every separately rounded composition.
On the negative real axis, log10(−1)=iπ/ln(10), approximately 1.364376353842i. On the unit circle the real component is zero because the magnitude is 1.
Multiplying the result by ln(10) and then applying the complex exponential recovers the original nonzero value mathematically. However, the principal-log product rule can differ by multiples of 2Ï€i/ln(10). Branch information must be retained when simplifying complex expressions.
Boundaries and troubleshooting
Zero is rejected by the inherited logarithm guard. Invalid text is also rejected. The tested negative-zero-looking input has selected phase +Ï€ on the negative real axis, as shown below.
A small real component can be legitimate when the input magnitude is close to 1. Display rounding may hide it, and a principal phase can jump across the negative real axis. Neither effect should be interpreted as a base-conversion failure without checking the actual components.
These additional formulas were recalculated through the same import path. Error displays are retained as errors, even when an ODS numeric attribute stores zero.
| Formula | Observed result or error |
|---|---|
=IMLOG10("0") |
Err:502 |
=IMLOG10("abc") |
Err:502 |
=IMLOG10("-1-0i") |
1.36437635384184i |
Other spreadsheet implementations
The IMLOG10 guide for Calligra Sheets documents that product’s own syntax and tested behavior. A shared function name does not guarantee the same argument conversion, text parsing, branch or precision rules.
Official evidence and checking scope
- Function-specific release entry
- Complex algorithm or collection helper
- Strict complex-string parser
- Finite-output string formatter
- Inherited principal natural-log operation
The saved ODS retained every tested formula identity. A deliberately stale SUM cache changed from 999999 to 3, and an uncached SUM returned 7 after hard recalculation. Native evidence covers the eight reference formulas and listed diagnostics only. Other explanatory compositions are independent mathematical checks; other releases, locales and extreme-value behavior were not established by this run.