Contact

ISODD_ADD Function (LibreOffice Calc)

Information Beginner LibreOffice Calc

Check LibreOffice ISODD_ADD integer indicators with source-backed parity examples. Distinguish odd inputs, false zero results and unverified input conversions.

Verification status: Eight ordinary reference examples were independently calculated against retained LibreOffice 26.8 Help and 26.8.1.1 registration. The signed-integer parity callback was inspected. No native LibreOffice execution or cross-product test is claimed. How formula examples are checked

Quick answer: =ISODD_ADD(0) has independent reference value 0 under the ordinary model below. This is a documentation/source and calculation check, not a native LibreOffice test.

Availability and version history

  • Introduced: First release not established; documented by LibreOffice 3.3.
  • Supported in: Documented in LibreOffice 26.8 Help and registered in 26.8.1.1. No retirement is established.
  • Scope: Desktop Calc, English compatibility function name and semicolon-separated formulas. A suffix does not by itself mean deprecated or retired.
  • Checked: October 14, 2026. Eight reference calculations and the function-specific documentation were checked. The integer callback was inspected. No native execution is claimed.

What ISODD_ADD means

ISODD_ADD returns numeric 1 for an odd integer and numeric 0 for an even integer. It belongs to the Analysis add-in and is separately registered from core ISODD. Its implementation tests the least significant bit of a signed integer. Function-specific Help.

LibreOffice’s documentation describes _ADD names as compatibility variants associated with Excel 2003 behavior and recommends the unsuffixed functions for standards-oriented results. Keep the exact original function name when evaluating an imported workbook.

Syntax and arguments

=ISODD_ADD(Number)
  • Number: integer whose parity is required.

The add-in declares exactly one signed 32-bit integer input and an integer return. The examples use small exact integers; they do not establish fractional or out-of-range conversion behavior.

Eight independent reference examples

These references use integer parity and the inspected integer callback. The results are exact for the small integers shown.

Formula Independent reference
=ISODD_ADD(0) 0
=ISODD_ADD(1) 1
=ISODD_ADD(2) 0
=ISODD_ADD(7) 1
=ISODD_ADD(-1) 1
=ISODD_ADD(-2) 0
=ISODD_ADD(-7) 1
=ISODD_ADD(100) 0

Practical worksheet

Inputs 1, 7, −1 and −7 return 1 in the independent integer check. Inputs 0, 2, −2 and 100 return 0. An odd negative integer is still odd: −7=2×(−4)+1, so its parity is consistent with the positive case.

The result can act as a numeric indicator in an integer classification worksheet. For example, among the eight inputs listed above there are four odd values, so the independent sum of their indicators is 4. That count assumes these are intentional integer inputs, not unvalidated text identifiers.

Advanced interpretation and checks

The source uses nVal & 1 and chooses integer 1 or 0. For the listed integer set, adding ISODD_ADD and ISEVEN_ADD gives 1 for each value. The eight odd indicators sum to 4, while the eight even indicators also sum to 4.

Keep the declared integer return type and the exact English function name explicit in compatibility work. Core parity functions may have their own argument conversions or logical result formatting. Matching a few ordinary integers does not establish equality across text, blank, error or fractional inputs.

Boundaries and troubleshooting

The add-in interface is narrower than an unrestricted mathematical integer domain: it declares a signed 32-bit input. No boundary-size integer, fractional, text, blank or error argument was executed. Validate your intended input before relying on an indicator.

Do not call zero odd because its numeric result is zero; here zero is the false indicator. This function returns 1 when the input is odd. Preserve the _ADD name when documenting an existing formula so a later migration does not silently change which native implementation is being discussed.

Official evidence and checking scope

The references establish the documented ordinary model and the source’s signed integer input/return contract. Native execution, exceptional-input behavior and cross-product equivalence remain unverified.