Public bug reported:

public class Test {

    public static void main(String[] args) {
        System.out.println("1: " + Double.toString(Math.PI));
        System.out.format("2: %f\n", Math.PI);
        System.out.printf("3: %f\n", Math.PI);
    }

}

$ gcj --main=Test Test.java

$ ./a.out 
1: 3.141592653589793
2: 
3:

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gcj-jdk 4:4.8.2-1ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Apr 24 10:35:34 2014
InstallationDate: Installed on 2013-04-11 (377 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Alpha amd64 (20130410)
SourcePackage: gcc-defaults
UpgradeStatus: Upgraded to trusty on 2014-03-13 (41 days ago)

** Affects: gcc-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug gnome3-ppa third-party-packages trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1311972

Title:
  gcj cannot format float and double

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1311972/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to