IMLOG10 in ONLYOFFICE: Base-10 complex logarithm with Examples
Learn IMLOG10 in ONLYOFFICE Spreadsheet Editor with official syntax, a reproducible complex-number worksheet, checked mathematical examples, troubleshooting and compatibility cautions.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in ONLYOFFICE Spreadsheet Editor. How formula examples are checked
Quick answer: IMLOG10 returns the logarithm of a complex number to base 10. The official ONLYOFFICE reference documents the formula =IMLOG10(inumber). This article describes mathematical expectations, not results obtained from the ONLYOFFICE application.
Verification: Examples are independently calculated mathematical expectations. Native ONLYOFFICE Desktop and Docs web execution was not performed.
Exact syntax, arguments, types and defaults
=IMLOG10(inumber)
| Argument | Required? | Meaning and type | Default |
|---|---|---|---|
| inumber | Required | Complex number expressed in x + yi or x + yj form | No default |
All arguments shown above are required; the official function page does not describe optional parameters or assumed defaults. inumber is a complex number of the form x+yi or x+yj; the suffix i/j is a lowercase complex unit. Build inputs with COMPLEX(real_num,i_num,[suffix]) rather than typing nonnumeric text into real/imaginary input cells. COMPLEX assumes i if suffix is omitted. The optional square brackets in its documentation mean optional, not literal characters.
ONLYOFFICE documents manual entry with a leading = and comma-separated arguments in its Insert functions instructions. These examples use English names and comma separators; check actual regional settings before copying the formulas into localized environments. The exact tokenized spelling of localized functions and separators has not been tested.
Step-by-step reproducible worksheet
- Open a new empty spreadsheet in ONLYOFFICE Spreadsheet Editor. Type the headings
Scenario,Real,Imaginary,Unit,Exponent,Complex value,Resultin cells A1:G1 respectively. - Enter the data below into A2:E11. Enter real and imaginary coefficients as numbers, not strings. In C10, enter the actual formula
=PI()/2so that row 10 is reproducible to spreadsheet precision. - Type
=COMPLEX(B2,C2,D2)in F2 and fill down through F11. F2 is mathematically3+4i; the exact text serialization may omit zero terms or unit coefficients. - Type the formula indicated below in G2 and fill it down through G11. The examples use the input suffix for notation only; native suffix propagation and output formatting remain unverified.
- Compare results to the mathematical expectations below. A small numerical difference from a decimal approximation can come from floating-point precision, complex-number branch handling or output formatting. Do not claim that the test passed natively until somebody runs it in the target edition.
| Row | Scenario | B: real | C: imaginary | D: suffix | E: power | Mathematical complex input |
|---|---|---|---|---|---|---|
| 2 | Impedance | 3 | 4 | i |
2 | 3+4i |
| 3 | Real unity | 1 | 0 | i |
3 | 1 |
| 4 | Quarter-turn | 0 | 1 | i |
4 | 1i |
| 5 | Negative real | -1 | 0 | i |
3 | -1 |
| 6 | Quadrant II | -2 | 3 | i |
2 | -2+3i |
| 7 | Electrical notation | 0 | -2 | j |
-1 | -2j |
| 8 | Mixed signs | 2 | -1 | j |
2 | 2-1j |
| 9 | Zero input | 0 | 0 | i |
-1 | 0 |
| 10 | Half-pi angle | 0 | =PI()/2 |
i |
2 | 1.5707963268i |
| 11 | Real four | 4 | 0 | i |
0 | 4 |
For G2, enter =IMLOG10(F2). Fill down to G11. Row 9 is a deliberate zero-input edge case; it is not a successful logarithm or negative-power calculation.
Expected mathematical outputs (independent calculations)
| Row | Enter in column G | Mathematical expected result | Calculation context |
|---|---|---|---|
| 2 | =IMLOG10(F2) |
0.6989700043+0.4027191963i |
principal mathematical value, not a confirmed editor output |
| 3 | =IMLOG10(F3) |
0 |
principal mathematical value, not a confirmed editor output |
| 4 | =IMLOG10(F4) |
0.6821881769i |
principal mathematical value, not a confirmed editor output |
| 5 | =IMLOG10(F5) |
1.3643763538i |
principal mathematical value, not a confirmed editor output |
| 6 | =IMLOG10(F6) |
0.5569716762+0.937554463i |
principal mathematical value, not a confirmed editor output |
| 7 | =IMLOG10(F7) |
0.3010299957-0.6821881769j |
principal mathematical value, not a confirmed editor output |
| 8 | =IMLOG10(F8) |
0.3494850022-0.2013595981j |
principal mathematical value, not a confirmed editor output |
| 9 | =IMLOG10(F9) |
mathematically undefined (no claimed editor error) | no finite complex logarithm / power; native response unknown |
| 10 | =IMLOG10(F10) |
0.196119877+0.6821881769i |
principal mathematical value, not a confirmed editor output |
| 11 | =IMLOG10(F11) |
0.6020599913 |
principal mathematical value, not a confirmed editor output |
Verification method: two independent Python numeric pathways (cmath double-precision and mpmath 65-digit complex arithmetic) agreed within the declared relative/absolute tolerance for every defined example. This checks algebra, not the spreadsheet engine, its display text, exact error messages or formula parser.
Why it works: mathematical explanation
The real component represents the decimal logarithm of the magnitude; the imaginary component represents the principal phase divided by ln(10). The branch convention is a mathematical expectation and requires native boundary testing.
For nonzero z=a+bi, compute r=sqrt(a²+b²) and θ=atan2(b,a) radians. Then the expected principal logarithm has real part ln(r)/ln(10) and imaginary part θ/ln(10).
For 3+4i, magnitude is 5. Thus the principal result is log10(5) + i·atan2(4,3)/ln(10); it is not the decimal logarithm of 3 plus that of 4.
The equations describe the mathematical operation normally associated with this function. They are not proof of native ONLYOFFICE behaviour at a branch cut or near machine-precision limits. The official vendor reference describes the function purpose and basic syntax but omits some branch/error details.
Advanced use and proposed formula checks
These advanced examples use the principal mathematical logarithm; native ONLYOFFICE evaluation remains outstanding.
| Formula to enter in an unused cell | Independently expected mathematical result | Why it matters |
|---|---|---|
=IMLOG10(COMPLEX(1,0,"i")) |
0 |
Base-10 logarithm of unity. |
=IMLOG10(COMPLEX(10,0,"i")) |
1 |
Base-10 logarithm equals one. |
=IMLOG10(COMPLEX(100,0,"i")) |
2 |
Base-10 logarithm equals two. |
=IMLOG10(COMPLEX(0,1,"i")) |
0.6821881769i |
Phase divided by ln(10). |
=IMLOG10(COMPLEX(-1,0,"i")) |
1.3643763538i |
Principal negative-axis branch, requiring native check. |
=IMLOG10(COMPLEX(3,4,"i")) |
0.6989700043+0.4027191963i |
Real part log10(5), not log10(3). |
=IMLOG10(F9) |
mathematically undefined (no claimed editor error) | Zero input: mathematically undefined. |
=IMLOG10(F2) |
0.6989700043+0.4027191963i |
Compare using complex division: =IMDIV(IMLN(F2),COMPLEX(LN(10),0)). |
Advanced application and practical interpretation
Base-10 complex logs can support theoretical amplitude-versus-phase analysis. Decibel formulas such as 20*log10(amplitude ratio) are real-valued and must not be substituted blindly for a complex logarithm.
Compare two ways without overstating what is tested
To inspect a complex output numerically, place =IMREAL(G2) and =IMAGINARY(G2) in blank cells. Their official real-component and imaginary-component references describe the operations. Comparing numeric components avoids making assumptions about whether the editor prints i, 1i, j, extra zeros or rounded decimals. This is a recommended future native test, not an executed verification.
Errors, limits and troubleshooting
Input format: A typical input such as 3+4i should be constructed with =COMPLEX(3,4,"i"). 3+4i volts, a mixed i/j string, unquoted suffix arguments and a typed formula lacking = are not shown as valid inputs by the vendor. A cell that visually looks numeric may contain text.
Domain and precision: Zero has no finite complex log; negative real inputs produce a phase component, not a real-valued logarithm. A textual numeric-looking input is not automatically the same as a documented complex-number representation.
Boundary caution: Exact native output formatting and branch treatment for negative real inputs have not been tested. Do not claim a particular error label for zero.
Troubleshooting checklist:
- Confirm the real and imaginary components in B and C are numeric and that D contains the lowercase unit
iorj. - Use the Insert Function window to confirm the target installation recognizes the exact English function name.
- Check the parentheses, leading
=, comma separators and argument order. Test the single-cell literal formula from the advanced table before dragging down a column. - If a result differs from the expected mathematical value, inspect the real and imaginary components separately and compare with a reasonable decimal tolerance.
- For zero-input, negative-real branch-cut, fractional exponent, large-magnitude and regional settings cases, record what the actual target build does. No
#NUM!,#VALUE!or other exact error is claimed without an observed native test. - If recalculation is stale, ONLYOFFICE documents the Calculation control on the Formula tab and F9 for workbook recalculation in its Insert Functions guide; inspect the build-specific UI before assuming identical keyboard shortcuts across systems.
ONLYOFFICE editions and historical versions
The current unversioned ONLYOFFICE Docs Spreadsheet Editor Help Center lists this function and describes its syntax. This is vendor-documentation evidence, not a tested claim that every Docs server, hosted web editor, Desktop Editors version, mobile build or locale supports it. The Docs changelog and the separate Desktop Editors changelog were consulted on 2026-10-13 (UTC), but the inspected material did not establish an attributable first supported release for this function. Therefore minimum Docs/Desktop version: unknown.
Export/import and Excel or Google Sheets compatibility are not established by the ONLYOFFICE help page. Another spreadsheet’s formula behaviour, rounding, error messages or complex-number branch choice cannot serve as ONLYOFFICE execution evidence. Verify in each target application and format before migrating a workbook.
Related resources and links
- IMLOG10 official reference — exact documented purpose, English syntax and argument type.
- COMPLEX official reference — construct
i- orj-suffixed complex values for input. - IMREAL official reference — interpret expected real output component.
- IMAGINARY official reference — interpret expected imaginary coefficient.
- IMABS official reference — interpret magnitudes; contains its own separate documentation.
- IMARGUMENT official reference — interpret phase angles in radians.
- ONLYOFFICE function catalogue and entry instructions — category navigation and manual formula entry.
- Docs changelog and Desktop Editors changelog — independently maintained release histories.
Official references and dated claim-level evidence
| Claim | Evidentiary basis | Checked |
|---|---|---|
| Function name, purpose, English syntax and argument descriptions | Official IMLOG10 reference | 2026-10-13 (UTC) |
COMPLEX construction and lowercase i/j suffix, default i |
COMPLEX reference | 2026-10-13 (UTC) |
Formula entry with = and commas, access via Formula tab |
Insert functions | 2026-10-13 (UTC) |
| Current Docs versus Desktop release histories are distinct; first supported version not established | Docs changelog, Desktop changelog | 2026-10-13 (UTC) |
| Expected mathematical values (including principal-branch assumptions) | cmath and 65-digit mpmath independent calculations |
2026-10-13 (UTC) |
| Native application execution, localized syntax, exact error codes and historical version matrix | Not tested / not established | Not applicable |