Project

General

Profile

Actions

Bug #6

closed

sprintf() of %f on Windows(MSVCRT)

Added by usa (Usaku NAKAMURA) over 13 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2dev (2010-02-26) [i386-mingw32]
Backport:

Description

=begin
running test/ruby/test_sprintf.rb(test_float):
<"36893488147419111424"> expected but was
<"36893488147419111000">.

because sprintf() of MSVCRT is not precise.
should use our own dtoa().
=end


Files

sprintf.patch (4.24 KB) sprintf.patch wanabe (_ wanabe), 10/26/2008 10:35 AM
force_use_missing.patch (882 Bytes) force_use_missing.patch wanabe (_ wanabe), 02/27/2010 10:40 PM
Actions

Also available in: Atom PDF