← Back to team overview

touch-packages team mailing list archive

[Bug 362652] Re: asin produces wrong values

 

p asin(1.0)

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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