[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #691: number/string-conversion tests fail on Wind
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys) |
Date: |
Sat, 17 Sep 2011 14:19:58 -0000 |
#691: number/string-conversion tests fail on Windows (mingw-msys)
-----------------------------+----------------------------------------------
Reporter: felix | Owner: sjamaan
Type: defect | Status: new
Priority: major | Milestone: 4.8.0
Component: core libraries | Version: 4.7.x
Resolution: | Keywords: number-string conversion
-----------------------------+----------------------------------------------
Comment(by sjamaan):
Found this in the most unlikely place you'd expect it, the
[https://secure.wikimedia.org/wikipedia/en/wiki/Printf#Format_placeholders
Wikipedia page for printf()]
> The exponent always contains at least two digits; if the value is zero,
the exponent is 00. In Windows, the exponent contains three digits by
default, e.g. 1.5e002, but this can be altered by Microsoft-specific
_set_output_format function.
I guess we can include a call to this weird [http://msdn.microsoft.com/en-
us/library/0fatw238.aspx _set_output_format thing]. I don't have a
Windows box to test on, but can someone try the attached patch?
--
Ticket URL: <http://bugs.call-cc.org/ticket/691#comment:3>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/14
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/14
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/14
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys),
Chicken Trac <=
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/19
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/21
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/21
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/21
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/21
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/23
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/23
- Re: [Chicken-janitors] #691: number/string-conversion tests fail on Windows (mingw-msys), Chicken Trac, 2011/09/23