PtcRunner.Lisp.Runtime.JavaMathSemantics (PtcRunner v0.14.0)

Copy Markdown View Source

Pure numeric semantics shared by Java Math dispatch and the bare PTC pow/sqrt helpers.

The special-value table follows java.lang.Math while representing NaN and infinities with PTC-Lisp's recoverable signal atoms.

Summary

Functions

pow(x, y)

@spec pow(number() | atom(), number() | atom()) :: float() | atom()

sqrt(x)

@spec sqrt(number() | atom()) :: float() | atom()