In bool.jl, there are things like

signbit(x::Bool) = false
sign(x::Bool) = x
abs(x::Bool) = x
abs2(x::Bool) = x

Are these because Bool is a subtype of something where you'd expect
these to be defined, or are these useful in their own right, and if
so, when would you use these?


Thanks,
Dan

Reply via email to