Project

General

Profile

Actions

Bug #6

closed

sprintf() of %f on Windows(MSVCRT)

Added by usa (Usaku NAKAMURA) over 16 years ago. Updated about 12 years ago.

Status:
Closed
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

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0