bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoconf implementation for powl()


From: Tom Vijlbrief
Subject: autoconf implementation for powl()
Date: Thu, 26 Apr 2012 19:26:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

Autoconf 2.67 uses the following code to test for powl():
===========
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

#define _ISOC9X_SOURCE  1
#define _ISOC99_SOURCE  1
#define __USE_ISOC99    1
#define __USE_ISOC9X    1
#include <math.h>
int
main ()
{
        int value = powl (1.0) ;
  ;
  return 0;
}
_ACEOF
==============

This obviously fails because powl takes two arguments.
I expect:

int value = powl (1.0, 1.0);

It looks like a copy/paste error from fabsl(long double)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]