← Back to team overview

touch-packages team mailing list archive

[Bug 713985] Re: [armel] Function tgammal has precision issues in version 2.12.1-0ubuntu10.2 on ARM

 

This seems to be fixed as far as I can tell building a static soft float binary with the Linaro toolchain (which incidentally no longer supports soft float from 4.9 onwards).


** Changed in: linaro-toolchain-misc
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/713985

Title:
  [armel] Function tgammal has precision issues in version
  2.12.1-0ubuntu10.2 on ARM

Status in Linaro Toolchain Miscellanies:
  Fix Released
Status in “eglibc” package in Ubuntu:
  Confirmed

Bug description:
  Consider the following test program :
  #include <stdio.h>
  #include <math.h>
   
  int
  main (int argc,
        char* argv[])
  {
    long double x = 6.0;
    printf("tgammal (%.20Lf)=%.20Lfn", x, tgammal(x));
    return 0;
  }

  When run on 2.12.1-0ubuntu10.2, the result is :
  tgammal (6.00000000000000000000)=119.99999999999997157829
  while when run on 2.11.2-11 (glibc's unstable), the result is :
  tgammal (6.00000000000000000000)=119.99999999999999998612

  The second result is acceptable, while the second isn't. This makes
  sage (http://www.sagemath.org) unhappy...

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-toolchain-misc/+bug/713985/+subscriptions