code wiki / _hdl_build / _pm_gamma_spec.nx
_pm_gamma_spec.nx source
↩ module page · 22 lines · 758 B
1// _pm_gamma_spec.nx -- GENERATED by nx_mathspec_gamma (SOVEREIGN bigfloat:
2// exact Bernoulli Stirling + bf_pi + bf_ln; oracle rails Gamma(5)=24 and
3// Gamma(0.5)=sqrt(pi) held BIT-EXACT at emit time). DO NOT HAND-EDIT.
4import "nx_syscalls.nx"
5
6func pm_gamma_spec_fill(c: *i64) -> i64 {
7 c[0] = 4607182418800017408
8 c[1] = 4602678819172646912
9 c[2] = 4606452282016710324
10 c[3] = 4620693217682128896
11 c[4] = 4640242534423986176
12 c[5] = 0 - 4639197419445202024
13 c[6] = 4574040544619111450
14 c[7] = 0 - 4656886181880316803
15 c[8] = 4560903004447375139
16 c[9] = 0 - 4664742711180314604
17 c[10] = 4560459359808757786
18 c[11] = 0 - 4654820494858425321
19 c[12] = 4590669220166325589
20 c[13] = 4602678819172646912
21 return 14
22}