Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.36 is the most recent stable version of Flux.
math.m_inf() function returns positive infinity if
sign >= 0, negative infinity if
sign < 0.
Output data type: Float
import "math" math.m_inf(sign: 1) // Returns +Inf
The sign value used in the operation.
Data type: Integer