[Bug 362652] Re: asin produces wrong values

Matthias Klose doko at ubuntu.com
Thu Nov 20 12:04:37 UTC 2014


p asin(1.0)

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

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

Title:
  asin produces wrong values

Status in “gdb” package in Ubuntu:
  Invalid

Bug description:
  Calls to asin from inside gdb produce incorrect values.

  Testcase:
  #include <stdio.h>
  #include <math.h>

  int main() {
    printf("asin(1.0) = %f\n", asin(1.0));
    return 0;
  } 

  Test program correctly prints 1.570796, but "p asin(1.0)" from within
  gdb prints 0.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/362652/+subscriptions



More information about the foundations-bugs mailing list