Warning! This page documents an earlier version of Flux, which is no longer actively developed. Flux v0.65 is the most recent stable version of Flux.
math.signbit() function reports whether
x is negative or negative zero.
Output data type: Boolean
import "math" math.signbit(x: -1.2) // Returns true
The value used in the operation.
Data type: Float