Extracted the 8x16 irrational tables + lead-in -708.4xx series from soothe_mem.bin
into exp2_tables.{hpp,cpp} (P3 bit-exact inputs). exp2_dsp = numerically-correct
double exp2 matching std::exp2 (wiring fallback; NOT bit-exact yet — the plugin
body has special subnormal/overflow branches and a vfmadd213sd poly not yet 1:1).
exp2_check: 2e6-grid PASS (0 cells >1e-13).
16 lines
634 B
C++
16 lines
634 B
C++
#pragma once
|
|
// Bit-exact irrational tables of the soothe2 scalar exp2 (0x18026b820),
|
|
// extracted from soothe_mem.bin (VA-linear: file=RVA=VA-0x180000000).
|
|
// 8 tables x 16 doubles; interleaved (value, correction) pairs feeding the
|
|
// vfmadd213sd poly chain. P3 bit-exact transcription input.
|
|
extern const double kExp2_big[16];
|
|
extern const double kExp2_f2f4e0[16];
|
|
extern const double kExp2_f2f7f8[16];
|
|
extern const double kExp2_f2f5e8[16];
|
|
extern const double kExp2_f2f900[16];
|
|
extern const double kExp2_f2ff18[16];
|
|
extern const double kExp2_f2ff20[16];
|
|
extern const double kExp2_f2fb10[16];
|
|
extern const double kExp2_f30f88[16];
|
|
|