Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/real-min/docs/types/index.d"

Index

Functions

Functions

Export assignment realmin

  • realmin(dtype: string): number
  • Returns the smallest positive normal value capable of being represented by a numeric real type.

    Notes

    The following numeric real types are supported:

    • float64: double-precision floating-point numbers
    • float32: single-precision floating-point numbers
    • float16: half-precision floating-point numbers
    throws

    must provide a recognized numeric type

    Parameters

    • dtype: string

      numeric type

    Returns number

    smallest positive normal value

    Example

    var m = realmin( 'float64' );
    // returns 2.2250738585072014e-308

    Example

    var m = realmin( 'float16' );
    // returns 0.00006103515625

    Example

    var m = realmin( 'float32' );
    // returns 1.1754943508222875e-38