jadams-tresys commented on a change in pull request #179: Return xs:decimal 
when dividing xs:long
URL: https://github.com/apache/incubator-daffodil/pull/179#discussion_r254823246
 
 

 ##########
 File path: 
daffodil-core/src/main/scala/org/apache/daffodil/dpath/NodeInfoUtils.scala
 ##########
 @@ -86,7 +86,7 @@ object NodeInfoUtils {
       case Decimal => Decimal
       case Integer => Decimal
       case Double => Double
-      case Long => Double
+      case Long => Decimal
       case Float => Float
       case Int => Float
       case ArrayIndex => ArrayIndex
 
 Review comment:
   Looking at this divResult function, it is lacking many of the smaller types 
(byte, short, etc) as well as all the unsigned types.  Are these types actually 
not supported or is this an oversight?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to