[Bug 1311972] Re: gcj cannot format float and double

Matthias Klose doko at ubuntu.com
Wed Jun 11 11:21:54 UTC 2014


** Changed in: gcc-defaults (Ubuntu)
   Importance: Undecided => Low

** Changed in: gcc-defaults (Ubuntu)
       Status: New => Triaged

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

Title:
  gcj cannot format float and double

Status in “gcc-defaults” package in Ubuntu:
  Triaged

Bug description:
  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)

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



More information about the foundations-bugs mailing list