Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Type aliases

FixedMod

FixedMod: (number: number, mod: number) => number

A modulo operation with the result being in the range [0,mod).

Type declaration

    • (number: number, mod: number): number
    • Parameters

      • number: number

        The divisor for the modulo operation.

      • mod: number

        The dividend for the modulo operation.

      Returns number

      The result of the module operation, in the range [0,mod)].

Generated using TypeDoc