[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1011: float and double foreign-lambdas return wrong
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1011: float and double foreign-lambdas return wrong values |
Date: |
Mon, 13 May 2013 20:45:43 -0000 |
#1011: float and double foreign-lambdas return wrong values
---------------------+------------------------------------------------------
Reporter: ecloud | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: unknown | Version: 4.8.x
Keywords: |
---------------------+------------------------------------------------------
Sometimes I've had better luck with double, but now I wrote an egg just to
demonstrate this, and it's failing pretty consistently for both float and
double, at least for me, on 64-bit Arch Linux.
Version 4.8.0.3 (stability/4.8.0) (rev 091c3d9)
#;1> (use getafloat)
; loading /usr/lib/chicken/6/getafloat.import.so ...
; loading /usr/lib/chicken/6/getafloat.so ...
#;2> (get-float)
get_float returning 1368477568.000000
38.0
#;3> (get-double)
get_float returning 1368477622.402598
38.0
#;4> (get-int)
5
#;5> (get-pair)
get_float returning 1368477696.000000
get_float returning 1368477696.000000
(38.0 . 38.0)
--
Ticket URL: <http://bugs.call-cc.org/ticket/1011>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #1011: float and double foreign-lambdas return wrong values,
Chicken Trac <=