Atom - - Primality

Characters:

Tags: math , number , boolean , vectorize , prime

Arity: monadic

This atom is monadic, which means it takes one argument.

Functionality

Return 1 if z is prime and 0 otherwise.

Details

This is an alias for ÆP, which is still available for backwards compatibility.

Synonyms

This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):