Pull out the guts for testing: the current value math is identical to standard, so share the machinery, but the final value computation produces numbers that are slightly smaller near the max values, and needs to remain distinct. The user-provided values roundtrip despite the asymmetry.
Note similarity with the Gate value scaling: tantalizingly close, but not identical, so not sharing code right now.
Pull out the guts for testing: the current value math is identical to standard, so share the machinery, but the final value computation produces numbers that are slightly smaller near the max values, and needs to remain distinct. The user-provided values roundtrip despite the asymmetry.
Note similarity with the Gate value scaling: tantalizingly close, but not identical, so not sharing code right now.