IsOdd
Whether n is an odd integer.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim entry
1c376628b4c364f0a5c0e088✓fd732d✓Wolfram LanguageOddQ!IsOdd(n) if is an odd integer, else .Julia
is_odd(ZZ(n))Rustis_odd(n)Typed signatures
| Type | Package | Applies |
|---|---|---|
(number) -> boolean | analyticreplaces compute-engine | always |
(number) -> boolean | compute-engine | always |
Examples
Applications #
Properties #
About
| Examples | 17 |
|---|---|
| Checked against | Wolfram Language 16 agree1 differSymPy 13 agree1 differJulia 9 agree3 errorRust 9 agree3 error |
| Crosswalk | Fungrim entry ×5Wolfram LanguageJuliaRust |
Implementation
mapped
sympypackages/oracle/src/mappings.tsWolfram's OddQ is False unless the operand is an odd integer, so SymPy's undecided is_odd (None), as for a symbol or 4.0, reads as False.
mapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts See also: IsEven