Divides
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand.
Divides(a, b) returns True if a divides b (i.e. b is an integer multiple of a), corresponding to the notation a ∣ b. Both operands are integers; a symbolic operand keeps the relation unevaluated.
✓ checked against that system · ! checked, with disagreements (hover a chip)Fungrim
DividesFungrim entry4ec333805c7aed65c8Wolfram LanguageDivisible!Divides(integer, integer) -> booleanas compute-engine declares itJulia
iszero(mod(ZZ(integer), ZZ(integer)))Rustdivides(integer, integer)Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer, integer) -> boolean | compute-engine | always |
Examples
Applications #
About
| Examples | 10 |
|---|---|
| Checked against | Wolfram Language 9 agree1 differmathlib4 8 agreeJulia 8 agreeRust 8 agree |
| Crosswalk | FungrimFungrim entry ×3Wolfram LanguageJuliaRust |
Implementation
mapped
mathlib4packages/oracle/src/mappings.tsDivisibility over the integers, zero included (0 divides only 0); a rational operand fails to elaborate.
mapped
juliapackages/oracle/src/mappings.tsmapped
rustpackages/oracle/src/mappings.ts