Teuchos: long long parameters (take 2)
Created by: ibaned
@trilinos/teuchos @pwxy @bathmatt
Description
This is my second attempt at letting integers bigger than INT_MAX
into YAML PLs. What happens now is that an integral value which is too big to fit in an int
will show up as a long long
. I've added the extra logic to AnyNumber...Validator
so that it too can accept long long
values. This shouldn't break any existing usage because behavior is only changed for values that currently silently overflow into negative numbers.
Unit tests were added for the validator and the YAML read support.
Motivation and Context
Users need
Related Issues
- Part of #2529 (closed)
How Has This Been Tested?
A custom build of Teuchos passed tests.