Skip to content
Novus Examples
npy256 B

IEEE-754 float64 Boundary Values (.npy)

The sixteen structurally distinct float64 values a numeric pipeline has to survive, in binary form: both zeros, both subnormal limits, the smallest normal, epsilon, the largest finite value, both infinities, a quiet NaN and the 2^53 integer boundary. Round-tripping this array is the minimum bar for any float64 codec.

Preview — schema + first 8 rowsnpy
CaseValueClass
positive zero0.0positive zero
negative zero-0.0negative zero
smallest subnormal5e-324subnormal
largest subnormal2.225073858507201e-308subnormal
smallest normal2.2250738585072014e-308normal
machine epsilon2.220446049250313e-16normal
one plus epsilon1.0000000000000002normal
one1.0normal
The full set of 16 cases, with exact bit patterns, is in the CSV twin.

Specifications

Dtype
float64
Elements
16
Includes
±0, subnormals, smallest normal, epsilon, largest finite, ±Inf, NaN, 2^53 and 2^53+1
Byte Order
little-endian
Bit Patterns Exact In Csv Twin
true

Testing contract

Expected to pass
Scenario
Load the array, classify every element, and write it back out before comparing the bit patterns.
Expected result
Element 1 is negative zero with a set sign bit rather than a plain 0.0, elements 2 and 3 are subnormal, one element is NaN, and a round trip reproduces all 16 bit patterns exactly.

What is a .npy file?

NPY is NumPy's native binary format for a single array. A short header records the dtype, shape, and memory order, followed by the raw array bytes, so an array round-trips exactly without any text parsing. It is the standard way to persist embeddings, tensors, and numeric matrices in the Python data stack.

How to use this file

Use an example .npy to test array loaders (numpy.load), tensor and embedding pipelines, and converters between .npy, JSON, and columnar formats like Parquet.

How to use this file for testing

“IEEE-754 float64 Boundary Values (.npy)” is a deterministic Novus Examples fixture for Scientific data, Error handling. 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: NPY · 256 bytes. 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.

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