You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think fld(a, b), for example, must return mathematically the same value as floor(a/b). This is the case for most a and b, but fld returns NaN for a = Inf.
julia>VERSIONv"0.7.0-DEV.4465"
julia>floor(Inf/1.0)
Inf
julia>fld(Inf, 1.0)
NaN
I get similar results for other Euclidean division functions cld and div.
Is this an intended behavior?
The text was updated successfully, but these errors were encountered:
I think
fld(a, b)
, for example, must return mathematically the same value asfloor(a/b)
. This is the case for mosta
andb
, butfld
returnsNaN
fora = Inf
.I get similar results for other Euclidean division functions
cld
anddiv
.Is this an intended behavior?
The text was updated successfully, but these errors were encountered: