Open oloeopia opened 5 years ago
For most of them, it is basically possible. Because it involves randomized optimization, the generated coefficients are not bitwise identical.
Please tell me which functions you want to regenerate coefficients for, if you have difficulty in doing so.
The settings are included in dp.h and sp.h.
Okay, now I see, I was misinterpreting how to use gencoef. I think I can make it work, but if I find one that I can't reproduce an equivalent polynomial with the same error bounds, I will let you know.
For some functions, you need multiple trials.
If you used a deterministic random number generator and saved the seeds that worked, wouldn't you be able to ensure that you get bitwise identical results?
Yes, it’s possible. I didn’t do that because I didn’t see a demand by users for generating bitwise identical results.
Would it be possible to get the settings used for each of the gencoef invocations in order to reproduce each of the polynomials?