Question:
Floating point numbers (float, double)
Author: Christian NAnswer:
Literals: • 0.23, -47.11 • Scientific notation: -1.23E-45 (= -1,23x10-45) • In principle double; float can be forced by a suffix f or F Operations: • additive: +, - (binary and unary) • multiplicative: *, / • comparison: == (attention – often imprecise!), !=, >, <, >=, <=
0 / 5 (0 ratings)
1 answer(s) in total