[AusNOG] Looking for employees? Melbourne based
Paul Brooks
pbrooks-ausnog at layer10.com.au
Fri Oct 11 18:48:05 EST 2013
On 11/10/2013 1:31 PM, Phillip Grasso wrote:
>
> 0.2+0.1 = 0.30000000000000004
>
>
I vaguely remember hand-calculating binary approximations of floating point arithmetic
with pencil and paper, with a few left and right register shifts for scaling thrown
in, to demonstrate these issues during CompSci at university. They actually taught it
as a module.
Probably to make us aware of the dangers (or opportunities) of leaving computers to do
floating point arithmetic with large numbers, allowing white-collar crims (or
opportunists) to make a fortune off the missing rounding bit-errors.
'Course, that was a while ago now....
(One of my favourite employment filters for network ops:
How long will a gigabit ethernet router port at full utilisation cause the
byte-counter to wrap, if the byte-counter is a 96-bit register)
Paul.
More information about the AusNOG
mailing list