HPCC-10525 Solve constant folding functions for ARM

Cleaned up with respect to floating point parameters and other bits.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>