Join Slack
Powered by
hi guys: Can anyone explain to me why it outputs l...
# android
t
Tran Thang
01/25/2022, 5:10 AM
hi guys: Can anyone explain to me why it outputs like this?
e
ephemient
01/25/2022, 5:19 AM
https://0.30000000000000004.com/
ephemient
01/25/2022, 5:19 AM
this is not a Kotlin or Android issue, it is inherent to all implementations of IEEE 754 floating point
t
Tran Thang
01/25/2022, 5:21 AM
yepp, i got it,
Tran Thang
01/25/2022, 5:21 AM
thank you so much bro
c
Colton Idle
01/25/2022, 5:37 AM
@ephemient
that website is amazing. cant believe i haven't seen that yet
g
gildor
01/25/2022, 6:38 AM
also nice website about number formats
https://floating-point-gui.de/formats/fp/
Open in Slack
Previous
Next