Modifying the Numeric Trait Information
As noted in the previous section, you can include a specialization of the template class
rw_numeric_traits in a header file containing the declaration of the new type. For built-in types, you have two choices:
Put the specialization in its own header file, similar to a user-defined type, and include it wherever it is used in your code.
Edit the file
rw/math/numtrait.h to add your own specialization.
Details about the typedefs in
rw_numeric_traits are described in the
SourcePro API Reference Guide.