Skip to content
Novus Examples
csv865 B

float64 Subnormal Ladder — Reference Table (.csv)

Each rung of the subnormal ladder with its bit pattern, decimal value, C99 hex float and remaining significant bits, plus the value a flush-to-zero pipeline would produce instead. It makes gradual underflow a table you can diff rather than a behaviour you have to infer.

Preview — first 12 linescsv
bits_hex,decimal_repr,hex_float,classification,significant_bits,flushed_to_zero_would_be
0x0000000000000001,5e-324,0x0.0000000000001p-1022,subnormal,1,0.0
0x0000000000000002,1e-323,0x0.0000000000002p-1022,subnormal,2,0.0
0x0000000000000004,2e-323,0x0.0000000000004p-1022,subnormal,3,0.0
0x0000000000000010,8e-323,0x0.0000000000010p-1022,subnormal,5,0.0
0x0000000000000400,5.06e-321,0x0.0000000000400p-1022,subnormal,11,0.0
0x0000000004000000,3.3156184e-316,0x0.0000004000000p-1022,subnormal,27,0.0
0x0008000000000000,1.1125369292536007e-308,0x0.8000000000000p-1022,subnormal,52,0.0
0x000fffffffffffff,2.225073858507201e-308,0x0.fffffffffffffp-1022,subnormal,52,0.0
0x0010000000000000,2.2250738585072014e-308,0x1.0000000000000p-1022,normal,53,2.2250738585072014e-308
0x0010000000000001,2.225073858507202e-308,0x1.0000000000001p-1022,normal,53,2.225073858507202e-308

Specifications

Rows
10
Columns
6
Shows Flush To Zero Effect
true
Smallest Normal Row
9
Decodes To
the paired subnormal .npy array

Testing contract

Reference control
Scenario
Round-trip the paired .npy array through your numeric pipeline and diff the results against the decimal_repr column.
Expected result
A conforming pipeline reproduces all ten rows; one running with flush-to-zero matches only the last two and returns 0.0 for the eight subnormal rows.

What is a .csv file?

CSV (Comma-Separated Values) is a plain-text tabular format where rows are lines and fields are separated by commas, with quoting rules for values that contain delimiters, quotes, or newlines. It has no formal type system and depends on encoding and dialect conventions. It is the most portable format for tabular data exchange.

How to use this file

Use an example CSV to test parsers against quoting and embedded-delimiter edge cases, header handling, encoding detection, and import pipelines into databases or spreadsheets.

How to use this file for testing

“float64 Subnormal Ladder — Reference Table (.csv)” is a deterministic Novus Examples fixture for Scientific data, Editor testing, Conversion testing. Citation catalogs (BibTeX, RIS), chemistry structures (MDL Molfile, PDB), and gridded binary data (NetCDF, FITS) — for testing reference managers, molecule viewers, and scientific-data loaders.

Documented properties for this file: 10 rows · 6 columns. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Scientific fixtures are small, valid, and fully synthetic — no real organism, patient, sample, or observation. Point your parser or loader at the file and check it reads the documented records, variables, or headers; binary formats ship a readable twin or metadata listing for comparison.

Code examples

import pandas as pd

df = pd.read_csv("subnormal-ladder.csv")
print(df.head())
print(df.dtypes)

Generated by generation/scientific.py. Free for any use, no attribution required — license.