Why is it `Inf` and not `inf` if `typeof(Inf) == Float64`

I thought that the Julia style is to have Capitalized words for types and modules.



I guess because the other special number of the IEEE 754 Standard for Floating-Point Arithmetic, NaN, also starts with a capital letter, these are the exceptions from the Julia convention to have not capitalized (constant) variable names.

1 Like