You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Dave Thompson (Jira)" <ji...@apache.org> on 2023/01/24 12:59:00 UTC
[jira] [Closed] (DAFFODIL-2546) Customizable float/double infoset representation
[ https://issues.apache.org/jira/browse/DAFFODIL-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Thompson closed DAFFODIL-2546.
-----------------------------------
Closing as "Won't Fix" per dev comment.
> Customizable float/double infoset representation
> -------------------------------------------------
>
> Key: DAFFODIL-2546
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2546
> Project: Daffodil
> Issue Type: New Feature
> Reporter: Steve Lawrence
> Priority: Minor
>
> Daffodil's default InfosetOutputters use the Float/Double.toString() function for converting float/doubles to a string to be output to an infoset. For some values, the Java toString implementation will switch to scientific notation, which not all consumers can easily handle. We should add a tunable or some other configuration so that users can have some control over how float/double's are converted to a string so that this can be disable or the range changed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)