Function note

PRICEMAT formula order on the x87 unit

FUNC.PRICEMAT

FN-PRICEMAT-001: PRICEMAT formula order on the x87 unit

Detail for matching Excel's bits · measured · recorded 2026-11-04

PRICEMAT = (100 + (DIM/B)*rate*100) / (1 + (DSM/B)*yld) - (A/B)*rate*100, each operation taken from the x87 unit at precision 64 and stored to binary64.

Call and input routeInputsExcelCorrect valueRecorded in
PRICEMAT(38620, 42889, 38168, 0.12180991686638161, 0.019384437069992936, 2)
cell-value2
settlement: 38620
0x40e2db8000000000
maturity: 42889
0x40e4f12000000000
issue: 38168
0x40e2a30000000000
rate: 0.12180991686638161
0x3fbf2eef494503b5
yld: 0.019384437069992936
0x3f93d9838d1165c1
basis: 2
0x4000000000000000
195.89977581174702
0x40687ccaf6a4a5ee
—Excel 16.0 build 20430, Windows 64-bit, AMD Ryzen 7 4800H

Basis: 2,404 of 2,404 recorded rows, with the day counts of FN-PRICEMAT-002. Strict binary64 with the same day counts matches 2,400.

Evidence and capture sources

Machine-readable note records