While not constant the single/float helpers might make it possible runtime (e.g. once at startup)
Hm - I'll have a look at least, but runtime is definitely not what I can use for all of it.
Background - I currently try to understand how much effort would be involved to port the CORE-Math library
https://core-math.gitlabpages.inria.fr/ to Free Pascal. It provides a full set of correctly rounded elementary functions for
Single &
Double. A lot of mathematical grunt work has gone into that and a full port, including testing environment, would unfortunately require conversion of several millions of FP constants. Even if only the actual function implementation is addressed there are still some thousand involved.
Of course I would also like to know if this is in any way wanted for FPC RTL - and later on I'd need guidance how to do the RTL integration correct.
But at the moment I'm still investigating for an effort estimation.