4 ms·
They are using integer literals, not Ints. Any type can declare the ability to be representable by any literal. Double can be represented by floating point lite
by happytoexplain 2y ago
They are using integer literals, not Ints. Any type can declare the ability to be representable by any literal. Double can be represented by floating point literals or integer literals (since Double, the type, can represent integers, the category of number).