https://bugzilla.redhat.com/show_bug.cgi?id=835452
Bug ID: 835452
QA Contact: extras-qa(a)fedoraproject.org
Severity: unspecified
URL:
https://rt.perl.org/rt3/Public/Bug/Display.html?id=109
318
Version: rawhide
Priority: unspecified
CC: cweyl(a)alumni.drew.edu, iarnell(a)gmail.com,
jplesnik(a)redhat.com, kasal(a)ucw.cz, lkundrak(a)v3.sk,
mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rc040203(a)freenet.de,
tcallawa(a)redhat.com
Assignee: mmaslano(a)redhat.com
Summary: perl-5.16.0: Broken printing decimal numbers in
locales with comma decimal sign
Regression: ---
Story Points: ---
Classification: Fedora
OS: Unspecified
Reporter: ppisar(a)redhat.com
Type: Bug
Documentation: ---
Hardware: Unspecified
Mount Type: ---
Status: ASSIGNED
Component: perl
Product: Fedora
use strict;
use warnings;
use POSIX;
use locale;
setlocale(LC_NUMERIC,"sv_SE");
printf("%g\n","3.14e+9"); # prints "3,14e+09\n"
printf("%g\n","3,14e+9"); # prints "3,14e+09\n"
printf("%g\n","3.14e-9"); # prints "3,14e-09\n"
printf("%g\n","3,14e-9"); # prints "3\n" *** WRONG! ***
Fixed in upstream commit:
commit 78787052b6a68c0f54cfa983a69c44276de9daa4
Author: Jesse Luehrs <doy(a)tozt.net>
Date: Tue Jun 26 00:13:54 2012 -0500
use a less broken test for locale radix in atof [perl #109318]
--
You are receiving this mail because:
You are on the CC list for the bug.