joyent/node — Issue #2527: Incorrect Float results when writing/reading from Buffers
Author: devdazed
Created: 2012-01-12 19:51:50+00:00
State: open

When reading/writing a float to a buffer, there are incorrect results either in the read or the write;

```javascript
var buf = new Buffer(4);
buf.writeFloatBE(1234.1234, 0)
buf.readFloatBE(0) // => 1234.1234130859375
```

Same goes for LittleEndian as well.