[
https://issues.apache.org/jira/browse/DAFFODIL-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Sloane resolved DAFFODIL-2165.
--------------------------------------
Resolution: Fixed
Fixed in commit 100ec3f4177cdf132919532e7107e3503653fe0b
> Add *Double functions to the typeCalc family of functions
> ---------------------------------------------------------
>
> Key: DAFFODIL-2165
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2165
> Project: Daffodil
> Issue Type: New Feature
> Components: Back End
> Affects Versions: 2.3.0
> Reporter: Brandon Sloane
> Assignee: Brandon Sloane
> Priority: Major
> Fix For: 2.4.0
>
>
> For reasons of type safety, most of the functions relating to typeCalc are
> specialized by their return type. Currently, only Integer and String
> functions are defined.
> This leave a clear gap where Double is missing, which would be nessasary to
> use this feature to support a unit-normalization use-case (eg. mil-std style
> DFI DUI, where degrees may be specified in units of 1/2^n . It is natural to
> intereperat this using a Int -> Double typeCalc.
> In theory, we need functions for all primitive types. However, I believe
> Double should be sufficient for most usecases.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)