Frequently, in my programming experience, I need to make a decision whether I should use floatfloat or doubledouble for my real numbers. Sometimes I go for floatfloat, sometimes I go for doubledouble, but really this feels more subjective. If I would be confronted to defend my decision, I would probably not give sound reasons.

When do you use floatfloat and when do you use doubledouble? Do you always use doubledouble, only when memory constraints are present you go for floatfloat? Or you use always floatuse float unless the precision requirement requires you to use doubledouble? Are there some substantial differences regarding the computational complexity of basic arithemticsarithmetics between floatfloat and doubledouble? What are the pros and cons of using floatfloat or doubledouble? And have you even used long doublelong double?

Frequently in my programming experience I need to make a decision whether I should use float or double for my real numbers. Sometimes I go for float, sometimes I go for double, but really this feels more subjective. If I would be confronted to defend my decision, I would probably not give sound reasons.

When do you use float and when do you use double? Do you always use double, only when memory constraints are present you go for float? Or you use always float unless the precision requirement requires you to use double? Are there some substantial differences regarding computational complexity of basic arithemtics between float and double? What are the pros and cons of using float or double? And have you even used long double?

Frequently, in my programming experience, I need to make a decision whether I should use float or double for my real numbers. Sometimes I go for float, sometimes I go for double, but really this feels more subjective. If I would be confronted to defend my decision, I would probably not give sound reasons.

When do you use float and when do you use double? Do you always use double, only when memory constraints are present you go for float? Or you always use float unless the precision requirement requires you to use double? Are there some substantial differences regarding the computational complexity of basic arithmetics between float and double? What are the pros and cons of using float or double? And have you even used long double?

Question Protected by user40980
Tweeted twitter.com/#!/StackProgrammer/status/564030091093897217
"decimals" --> "real numbers"
Source Link
Keith Thompson
  • 6.4k
  • 2
  • 28
  • 35

Frequently in my programming experience I need to make a decision whether I should use float or double for my decimalsreal numbers. Sometimes I go for float, sometimes I go for double, but really this feels more subjective. If I would be confronted to defend my decision, I would probably not give sound reasons.

When do you use float and when do you use double? Do you always use double, only when memory constraints are present you go for float? Or you use always float unless the precision requirement requires you to use double? Are there some substantial differences regarding computational complexity of basic arithemtics between float and double? What are the pros and cons of using float or double? And have you even used long double?

Frequently in my programming experience I need to make a decision whether I should use float or double for my decimals. Sometimes I go for float, sometimes I go for double, but really this feels more subjective. If I would be confronted to defend my decision, I would probably not give sound reasons.

When do you use float and when do you use double? Do you always use double, only when memory constraints are present you go for float? Or you use always float unless the precision requirement requires you to use double? Are there some substantial differences regarding computational complexity of basic arithemtics between float and double? What are the pros and cons of using float or double? And have you even used long double?

Frequently in my programming experience I need to make a decision whether I should use float or double for my real numbers. Sometimes I go for float, sometimes I go for double, but really this feels more subjective. If I would be confronted to defend my decision, I would probably not give sound reasons.

When do you use float and when do you use double? Do you always use double, only when memory constraints are present you go for float? Or you use always float unless the precision requirement requires you to use double? Are there some substantial differences regarding computational complexity of basic arithemtics between float and double? What are the pros and cons of using float or double? And have you even used long double?

Source Link
Jakub Zaverka
  • 2.4k
  • 2
  • 13
  • 8
Loading