New Issue: chpldoc: why do numbers get truncated?

18992, "lydia-duncan", "chpldoc: why do numbers get truncated?", "2022-01-13T22:19:56Z"

Summary of Problem

The documentation for e and pi in the Math module, for instance, only displays 5 decimal places when the module declares them with ~20 decimal places. This seems wrong, and maybe like something that should be controllable by an attribute?

It doesn't look like the Math module is one of the ones we adjust the generated documentation for, so this is likely a general issue.

Steps to Reproduce

Source Code:

param e = 2.7182818284590452354;

Compile command:
chpldoc foo.chpl

Associated Future Test(s):
TBD test/path/to/foo.chpl #1234 -->

Configuration Information

  • Output of chpl --version: 1.26.0 (pre-release)