round() returns erronous result
-------------------------------

         Key: XALANC-509
         URL: http://issues.apache.org/jira/browse/XALANC-509
     Project: XalanC
        Type: Bug
  Components: XPathC  
    Versions: 1.7, 1.8, 1.9    
 Environment: Linux airlibre 2.4.26-e2compr #19 SMP Wed Jul 28 14:04:02 EDT 
2004 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz GenuineIntel GNU/Linux

    Reporter: Martin Gadbois
 Attachments: bug.xsl

Stylesheet bug.xsl:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">

    <xsl:template match="/">
        <xsl:value-of select="round(3294967992.4)"/>
    </xsl:template>
    
</xsl:stylesheet>

invocation:
Xalan any.xml bug.xsl

yields:
<?xml version="1.0" encoding="UTF-8"?>-2147483648

I expect:
<?xml version="1.0" encoding="UTF-8"?>3294967992





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to