You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The adjusted exponent is the value of the exponent of a number when that number is expressed as though in scientific notation with one digit (non-zero unless the coefficient is 0) before any decimal point. This is given by the value of the exponent+(clength–1), where clength is the length of the coefficient in decimal digits.
For example, the adjusted exponent of the values 0.00123d2 and 0.123d0 is the exponent of the adjusted form, 1.23d-1.
All of the modeling guidance that the cookbook provides is correct, but the Ion data model doesn't actually use the adjusted exponent. It just uses the regular exponent as defined in the Decimal data model. See also exponent in the ISL 2.0 spec.
The text was updated successfully, but these errors were encountered:
popematt
changed the title
SQL Decimal Cookbook erroneously refers to _adjusted exponent_
SQL Decimal Cookbook erroneously refers to "adjusted exponent"
Mar 3, 2023
SQL Decimal Cookbook
All of the modeling guidance that the cookbook provides is correct, but the Ion data model doesn't actually use the adjusted exponent. It just uses the regular exponent as defined in the Decimal data model. See also
exponent
in the ISL 2.0 spec.The text was updated successfully, but these errors were encountered: