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

**URL:** <https://discourse.julialang.org/t/why-is-it-inf-and-not-inf-if-typeof-inf-float64/85583>\
**Category:** Numerics\
**Created:** [August 10, 2022, 1:34pm UTC](https://discourse.julialang.org/t/why-is-it-inf-and-not-inf-if-typeof-inf-float64/85583 "2022-08-10T13:34:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidavdav](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidavdav/32/1065_2.png) [@davidavdav](https://discourse.julialang.org/u/davidavdav)\
**Post date:** [August 10, 2022, 1:34pm UTC](https://discourse.julialang.org/t/why-is-it-inf-and-not-inf-if-typeof-inf-float64/85583/1 "2022-08-10T13:34:24Z")

</div>

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

—david

---

<div class="post-metadata">

**Author:** ![stephancb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stephancb/32/14243_2.png) [@stephancb](https://discourse.julialang.org/u/stephancb)\
**Post date:** [August 10, 2022, 2:22pm UTC](https://discourse.julialang.org/t/why-is-it-inf-and-not-inf-if-typeof-inf-float64/85583/2 "2022-08-10T14:22:05Z")

</div>

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.
