[Bug 1156579] Re: sin() and tan() have different values during compile time and run time.

Sergii Strelkovskyi sergey.s at samsung.com
Tue Mar 11 07:54:56 UTC 2014


What do you mean "by design"? The point is that glibc calculates
incorrect value of sin() and tan(). It does not depend on compiler.

** Changed in: eglibc (Ubuntu)
       Status: Invalid => New

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

Title:
   sin() and tan() have different values during compile time and run
  time.

Status in Embedded GLIBC:
  Won't Fix
Status in “eglibc” package in Ubuntu:
  New

Bug description:
  Sources with test cases are attached.
  Current output:
  Compile-time value of sine is -2.44929359829470641e-16
  Runtime value of sine is -2.44921270764475452e-16

  Compile-time value of tangent is -1.63312393531953700e+16
  Runtime value of tangent is -1.63317787283838440e+16

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: libc6 2.15-0ubuntu20
  ProcVersionSignature: Ubuntu 3.5.0-25.39-generic 3.5.7.4
  Uname: Linux 3.5.0-25-generic i686
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: i386
  Date: Mon Mar 18 13:54:58 2013
  InstallationDate: Installed on 2012-06-09 (281 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: eglibc
  UpgradeStatus: Upgraded to quantal on 2013-01-09 (67 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/eglibc/+bug/1156579/+subscriptions



More information about the foundations-bugs mailing list