[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Why are 32 bit inexact?
From: |
Christian Kellermann |
Subject: |
Re: [Chicken-users] Why are 32 bit inexact? |
Date: |
Sun, 28 Dec 2014 12:47:03 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
* Sascha Ziemann <address@hidden> [141228 12:33]:
> Hi,
>
> I tried to play a bit with ARM assembler, but reading 4 byte from a port
> seems to be quite hard with Chicken.
>
> Why are 32 bits inexact?
Because in CHICKEN we use 3 bits of a machine word for type tagging.
So you cannot use all bits as a number and the number fill overflow
to a float representation.
--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.