stdlib-js

stdlib-js/math-base-assert

Standard library basic mathematical assertion utilities.

JavaScript
2
0
Apache License 2.0

The `@stdlib/math-base-assert` package provides a comprehensive set of mathematical assertion utilities for testing various properties of numbers, including primality, parity, finiteness, and sign. It is designed for developers working on numerical and scientific computing applications who need reliable and thorough validation of numeric values in JavaScript and Node.js environments.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of stdlib-js/math-base-assert

Account's avatar
Test if a 32-bit integer is even.
Account's avatar
Test if a 32-bit integer is odd.
Account's avatar
Test if a number is composite.
Account's avatar
Test if two numbers are coprime.
Account's avatar
Test if a finite numeric value is an even number.
Account's avatar
Test if a finite single-precision floating-point number is an even number.
Account's avatar
Test if a double-precision floating-point numeric value is finite.
Account's avatar
Test if a single-precision floating-point numeric value is finite.
Account's avatar
Test if a double-precision floating-point numeric value is infinite.
Account's avatar
Test if a single-precision floating-point numeric value is infinite.
Account's avatar
Test if a finite double-precision floating-point number is an integer.
Account's avatar
Test if a finite single-precision floating-point number is an integer.
Account's avatar
Test if a double-precision floating-point numeric value is NaN.
Account's avatar
Test if a single-precision floating-point numeric value is NaN.
Account's avatar
Test if a double-precision floating-point numeric value is a negative finite number.
Account's avatar
Test if a finite double-precision floating-point number is a negative integer.
Account's avatar
Test if a finite single-precision floating-point number is a negative integer.
Account's avatar
Test if a double-precision floating-point numeric value is negative zero.
Account's avatar
Test if a single-precision floating-point numeric value is negative zero.
Account's avatar
Test if a numeric value is a nonnegative finite number.
Account's avatar
Test if a finite double-precision floating-point number is a nonnegative integer.
Account's avatar
Test if a finite single-precision floating-point number is a nonnegative integer.
Account's avatar
Test if a numeric value is a nonpositive finite number.
Account's avatar
Test if a finite double-precision floating-point number is a nonpositive integer.
Account's avatar
Test if a finite numeric value is an odd number.
Account's avatar
Test if a finite single-precision floating-point number is an odd number.
Account's avatar
Test if a double-precision floating-point numeric value is a positive finite number.
Account's avatar
Test if a finite double-precision floating-point number is a positive integer.
Account's avatar
Test if a double-precision floating-point numeric value is positive zero.
Account's avatar
Test if a single-precision floating-point numeric value is positive zero.
Account's avatar
Test if a number is prime.
Account's avatar
Test if a double-precision floating-point number is a probability.
Account's avatar
Test if a single-precision floating-point number is a probability.
Account's avatar
Test if a finite double-precision floating-point number is a safe integer.
Account's avatar
Test whether an unsigned integer is a power of 2.
Account's avatar
Define a read-only property.
Account's avatar
Test if a value is a boolean.
Account's avatar
Boolean constructor.
Account's avatar
Insert array element values and the result of a callback function into a format string and print the result.
Account's avatar
Maximum single-precision floating-point number.
Account's avatar
Single-precision floating-point negative infinity.
Account's avatar
Single-precision floating-point positive infinity.
Account's avatar
Smallest positive single-precision floating-point subnormal number.
Account's avatar
Maximum double-precision floating-point number.
Account's avatar
Maximum safe double-precision floating-point integer.
Account's avatar
Minimum safe double-precision floating-point integer.
Account's avatar
Double-precision floating-point negative infinity.
Account's avatar
Double-precision floating-point positive infinity.
Account's avatar
Smallest positive double-precision floating-point number.
Account's avatar
Maximum signed 32-bit integer.

Support the repos that depend on stdlib-js/math-base-assert

Top contributors

stdlib-bot's profile
stdlib-bot
79 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet