Hacker News new | ask | show | jobs
by dolmen 1117 days ago
You have to understand that float are negative powers of 2 and that conversion from decimal is not as straightforward as for integer: conversion from decimal often leads to loss of precision contrary to what happens for integers.
1 comments

You don't need to know anything about how they're represented to know they can't represent all decimal values.