This question already has answers here: Why can we have small fractions of a Bitcoin? (2 answers) Closed 6 years ago .

I've read that bitcoins are infinitely divisible:

Bitcoins can be divided up and trade into as small of pieces as one wants

How is this possible programmatically? The only thing that comes to mind are floating points which are inaccurate.

Are bitcoins truly infinitely divisible or merely practically?

A link to the relevant source code would be more than welcome.