does the datatype float also have a over-/underflow like an integer?
If yes, how can I create a float-underflow?
I also thought that. But that doesn't work, because java rounds the value!
You're right. I forget about that! The values are suppose to wrap around. Hmm, that makes it even harder.
The only other thing I can think of is some kind of conversion that causes an underflow.
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.