What is the difference between float and double?

前端 未结 13 734
悲哀的现实
悲哀的现实 2020-11-22 06:00

I\'ve read about the difference between double precision and single precision. However, in most cases, float and double seem to be interchangeable,

13条回答
  •  伪装坚强ぢ
    2020-11-22 06:00

    There are three floating point types:

    • float
    • double
    • long double

    A simple Venn diagram will explain about: The set of values of the types

提交回复
热议问题