bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bug #37607] Base argument to EXPT of static double field thr


From: Charles Turner
Subject: [Bug-kawa] [bug #37607] Base argument to EXPT of static double field throws exception
Date: Sun, 21 Oct 2012 15:50:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Ubuntu/12.04 Chromium/20.0.1132.47 Chrome/20.0.1132.47 Safari/536.11

URL:
  <http://savannah.gnu.org/bugs/?37607>

                 Summary: Base argument to EXPT of static double field throws
exception
                 Project: Kawa
            Submitted by: charlest
            Submitted on: Sun 21 Oct 2012 15:50:48 GMT
                Category: Scheme language
                Severity: 3 - Normal
              Item Group: Unexpected result
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

#|kawa:1|# (expt java.lang.Math:E 2)
Invalid parameter, was: java.lang.Double cannot be cast to gnu.math.Numeric
java.lang.ClassCastException: java.lang.Double cannot be cast to
gnu.math.Numeric
[...]

The attached fixes this, looks like a remnant of an unchecked cast.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 21 Oct 2012 15:50:48 GMT  Name: expt.patch  Size: 1kB   By: charlest

<http://savannah.gnu.org/bugs/download.php?file_id=26808>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37607>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]