Package: openjdk-7-jre
Version: 7~u3-2.1.1-1
Severity: normal
The Math methods sin(), cos(), and tan() are returning completely
incorrect values for large-ish input values. For example,
public class Weird {
public static void main(String[] args) {
System.out.println(Math.sin(10000000));
System.out.println(Math.cos(10000000));
System.out.println(Math.tan(10000000));
}
}
The output *should* be,
0.420547826145
-0.907270382175
-0.463530866219
But instead it outputs,
-0.7210329846302568
-0.6929007396988287
1.040600685379057
Other Math methods are likely affected as well, but I only tested
these three. In contrast, openjdk-6-jre is producing the correct
results.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages openjdk-7-jre depends on:
ii libasound2 1.0.25-3
ii libatk-wrapper-java-jni 0.30.4-2
ii libatk1.0-0 2.4.0-2
ii libc6 2.13-33
ii libcairo2 1.12.2-2
ii libcups2 1.5.3-2
ii libfontconfig1 2.9.0-6
ii libfreetype6 2.4.9-1
ii libgdk-pixbuf2.0-0 2.26.1-1
ii libgif4 4.1.6-9.1
ii libgl1-mesa-glx 8.0.3-1
ii libglib2.0-0 2.32.3-1
ii libgtk2.0-0 2.24.10-1
ii libjpeg8 8d-1
ii libpango1.0-0 1.30.0-1
ii libpng12-0 1.2.49-1
ii libpulse0 2.0-3
ii libx11-6 2:1.5.0-1
ii libxext6 2:1.3.1-2
ii libxi6 2:1.6.1-1
ii libxinerama1 2:1.1.2-1
ii libxrandr2 2:1.3.2-2
ii libxrender1 1:0.9.7-1
ii libxtst6 2:1.2.1-1
ii openjdk-7-jre-headless 7~u3-2.1.1-1
ii zlib1g 1:1.2.7.dfsg-11
Versions of packages openjdk-7-jre recommends:
ii libgconf2-4 3.2.5-1
ii libgnome2-0 2.32.1-2
ii libgnomevfs2-0 1:2.24.4-1
ii ttf-dejavu-extra 2.33-2
Versions of packages openjdk-7-jre suggests:
pn icedtea6-plugin <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]