The Missing Doc 4 Julia
  • Home
  • Mathematics
    • Mathematics
      • Arithmetic Operations
      • Addition
      • Subtraction
      • Multiplication
      • Division
      • Powers
      • Transpose
      • Modulo Division and Rounding
      • Relational Operations
      • Logical Operations
      • Bit-Wise Operations
      • Checked Math
      • Trigonometry
        • sin
        • sind
        • sinpi
        • asin
        • asind
        • sinh
        • asinh
        • sinc
        • sincos
        • sincosd
        • sincospi
        • cis
        • cispi
        • cos
        • cosd
        • cospi
        • acos
        • acosd
        • cosh
        • acosh
        • cosc
        • tan
        • tand
        • tanpi
        • atan
        • atand
        • tanh
        • atanh
        • sec
        • secd
        • asec
        • asecd
        • sech
        • asech
        • csc
        • cscd
        • acsc
        • acscd
        • csch
        • acsch
        • cot
        • cotd
        • acot
        • acotd
        • coth
        • acoth
      • Hypotenuse
        • rad2deg
        • deg2rad
      • Exponents and Logarithms
      • Exponents
      • Power
      • Root
        • Logarithms
        • Log
    • Complex Numbers
    • Discrete Math
    • Polynomials
    • Constants
    • Implementation Notes
      • libm exception handling
  • Guide
    • Guide
    • Trigonometric Functions
    • Hyperbolic Functions
  • Packages
      • Special Functions
      • Function Index
  • Base
    • Types
    • Numbers
    • Errors
Version
  • Mathematics
  • Implementation Notes
  • Implementation Notes
GitHub

Implementation Notes

libm exception handling

Julia's maths functions throw an exception if the input parameter is out of range, instead of returning NaN.

If you do not want an exception to be thrown, you can use the NaNMath.jl package.

« ConstantsFunction Index »

Powered by Documenter.jl and the Julia Programming Language.

Settings


This document was generated with Documenter.jl version 1.11.4 on Saturday 31 May 2025. Using Julia version 1.11.5.