Skip to content
Novus Examples
npy176 B

IEEE-754 float32 Boundary Values (.npy)

The single-precision counterpart of the float64 boundary array, including the 2^24 integer limit where consecutive whole numbers stop being representable. Widening float32 to float64 and back must preserve every one of these bit patterns.

Preview — schema + first 8 rowsnpy
CaseValueClass
positive zero0.0positive zero
negative zero-0.0negative zero
smallest subnormal1.401298464324817e-45normal
smallest normal1.1754943508222875e-38normal
machine epsilon1.1920928955078125e-07normal
one plus epsilon1.0000001192092896normal
one1.0normal
largest finite3.4028234663852886e+38normal
2^24 is where consecutive integers stop being representable in single precision.

Specifications

Dtype
float32
Elements
12
Smallest Subnormal
1.401298464324817e-45
Smallest Normal
1.1754943508222875e-38
Largest Finite
3.4028234663852886e38
Integer Boundary
2^24 = 16777216
Byte Order
little-endian

Testing contract

Expected to pass
Scenario
Load the array, widen it to float64, narrow it back to float32 and compare the bit patterns.
Expected result
All 12 bit patterns survive the round trip unchanged, and 16777216.0 and 16777217.0 both decode as 16777216.0 because 2^24+1 is not representable in single precision.

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 float32 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 · 176 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.