Workers of the World
Login
Register
Workers of the World
Login
Register
System Apps
Directory
Help
Language
Public Stream
Random Channel
Report Bug
Search
ⓘ Site Info
2026-11-14 07:38:51
View Profile
Æ.
aesthr@wandering.shop
Anyone who doesn't know about this really shouldn't be speaking on what computers are supposedly good at
(This is not a bug. This is documented and expected behavior in pretty much every widely used programming language today. See: IEEE 754)
R console screenshot: > 0.1 0.2 == 0.3 [1] FALSE
Link to Source
2026-11-14 07:43:56
View Profile
Æ.
aesthr@wandering.shop
And if you're a programmer and just learning about this now ... I'm so sorry, but someone had to tell you the truth eventually.
Link to Source
2026-11-14 09:04:55
View Profile
Ferret
ferret@hub.workersofthe.world
@Æ.
bash seems cool with it
if [[ 0.1+0.2==0.3 ]]; then echo "true"; fi
true
1
1
Link to Source
Expand Replies
Conversation Features
Loading...
Loading...
Conversation Features
Loading...
Loading...
Login
Email or nickname
Password
Remember me
Login
Password Reset
Remote Authentication
Register