The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-writedouble.js @ 6f043940

History | View | Annotate | Download (6.67 KB)

# Date Author Comment
61935bc1 03/27/2013 12:47 PM isaacs

test: Accept either kind of NaN

A llvm/clang bug on Darwin ia32 makes these tests fail 100% of
the time. Since no one really seems to mind overly much, and we
can't reasonably fix this in node anyway, just accept both types
of NaN for now.

22b84e62 01/16/2013 01:17 PM Trevor Norris

buffer: floating point read/write improvements

Improvements:
  • floating point operations are approx 4x's faster
  • Now write quiet NaN's
  • all read/write on floating point now done in C, so no more need for
    lib/buffer_ieee754.js
  • float values have more accurate min/max value checks...
7f404e35 09/02/2012 08:01 AM koichik

buffer: added support for writing NaN and Infinity

to writeDoubleBE(), writeDoubleLE(), writeFloatBE() and writeFloatLE().
Fixes #3934.

7f4aba91 02/20/2012 07:29 AM Ben Noordhuis

test: include common.js in all tests

fd29448b 12/06/2011 04:02 PM Ben Noordhuis

test: add missing copyright headers

59a9a9b5 11/18/2011 05:13 AM Ben Noordhuis

buffer: add .read*() and .write*() methods to SlowBuffer prototype

Fixes #2138.

87286cc7 10/05/2011 09:51 PM Colton Baker

Fixed a lot of jslint errors.

Fixes #1831

b7c23ac3 08/12/2011 09:49 AM Brian White

Incorporate endianness into buffer.read* function names instead of passing in a boolean flag

0df08c6a 08/08/2011 08:01 PM Robert Mustacchi

Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points.

e505a121 05/15/2011 09:39 PM Brian White

Add reading/writing of floats and doubles from/to buffers

Code for readIEEE754/writeIEEE754 is from jspack: http://code.google.com/p/jspack/