Skip to main content
Module

x/collatz/src/FailedSaneParameterCheck.ts>SaneParameterErrMsg

Functions related to the Collatz/Syracuse/3N+1 problem.
Latest
enum SaneParameterErrMsg
import { SaneParameterErrMsg } from "https://deno.land/x/collatz@javascript-v1.2.0/src/FailedSaneParameterCheck.ts";

Error message constants.

Members

SANE_PARAMS_A = "'a' should not be 0 ~ violates the reversability."

Message to print in the FailedSaneParameterCheck if a, the multiplicand, is zero.

SANE_PARAMS_P = "'P' should not be 0 ~ violates modulo being non-zero."

Message to print in the FailedSaneParameterCheck if P, the modulus, is zero.