+ 1
What is the difference between single float/ and double float //
8 Antworten
+ 2
thanks for the correction 👍
+ 2
In division, the result of using / is a float(15/5=3.0) but using // wiil change the result into a non-float anymore(15//5=3).
A little advice from a learner.
+ 1
Twice the memory means I am new in coding
0
aight, so first you need to know that each type of memory like int, char, float etc occupies a fixed amount of memory
0
for example int occupies 4 bytes
0
Ok
0
Single float is a single precision(32 bits) where as double float is a double precision(64 bits)
- 1
if im not wrong double float ocupies twice the memory than float and thats it