When accumulating scalar constants at graph optimization time, arbitrary precision arithmetic should be used to ensure the best result.