Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 179728 | Differences between
and this patch

Collapse All | Expand All

(-)guile-1.8.1/configure.in (-1 / +2 lines)
Lines 602-607 AC_CHECK_HEADERS([assert.h crt_externs.h Link Here
602
#       (DINFINITY and DQNAN are actually global variables, not functions)
602
#       (DINFINITY and DQNAN are actually global variables, not functions)
603
#   chsize - an MS-DOS-ism, found in mingw
603
#   chsize - an MS-DOS-ism, found in mingw
604
#   clog10 - not in mingw (though others like clog and csqrt are)
604
#   clog10 - not in mingw (though others like clog and csqrt are)
605
#   clog,cexp - not in FreeBSD (though others are, like cabs)
605
#   fesetround - available in C99, but not older systems
606
#   fesetround - available in C99, but not older systems
606
#   ftruncate - posix, but probably not older systems (current mingw
607
#   ftruncate - posix, but probably not older systems (current mingw
607
#               has it as an inline for chsize)
608
#               has it as an inline for chsize)
Lines 614-620 AC_CHECK_HEADERS([assert.h crt_externs.h Link Here
614
#   isblank - available as a GNU extension or in C99
615
#   isblank - available as a GNU extension or in C99
615
#   _NSGetEnviron - Darwin specific
616
#   _NSGetEnviron - Darwin specific
616
#
617
#
617
AC_CHECK_FUNCS([DINFINITY DQNAN chsize clog10 ctermid fesetround ftime ftruncate fchown getcwd geteuid gettimeofday gmtime_r ioctl lstat mkdir mknod nice readdir_r readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt stat64 strftime strptime symlink sync sysconf tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex truncate unsetenv isblank _NSGetEnviron])
618
AC_CHECK_FUNCS([DINFINITY DQNAN chsize clog10 clog cexp ctermid fesetround ftime ftruncate fchown getcwd geteuid gettimeofday gmtime_r ioctl lstat mkdir mknod nice readdir_r readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt stat64 strftime strptime symlink sync sysconf tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex truncate unsetenv isblank _NSGetEnviron])
618
619
619
# Reasons for testing:
620
# Reasons for testing:
620
#   netdb.h - not in mingw
621
#   netdb.h - not in mingw
(-)guile-1.8.1/libguile/numbers.c (-2 / +2 lines)
Lines 6018-6024 SCM_DEFINE (scm_log, "log", 1, 0, 0, Link Here
6018
{
6018
{
6019
  if (SCM_COMPLEXP (z))
6019
  if (SCM_COMPLEXP (z))
6020
    {
6020
    {
6021
#if HAVE_COMPLEX_DOUBLE
6021
#if HAVE_COMPLEX_DOUBLE && HAVE_CLOG
6022
      return scm_from_complex_double (clog (SCM_COMPLEX_VALUE (z)));
6022
      return scm_from_complex_double (clog (SCM_COMPLEX_VALUE (z)));
6023
#else
6023
#else
6024
      double re = SCM_COMPLEX_REAL (z);
6024
      double re = SCM_COMPLEX_REAL (z);
Lines 6084-6090 SCM_DEFINE (scm_exp, "exp", 1, 0, 0, Link Here
6084
{
6084
{
6085
  if (SCM_COMPLEXP (z))
6085
  if (SCM_COMPLEXP (z))
6086
    {
6086
    {
6087
#if HAVE_COMPLEX_DOUBLE
6087
#if HAVE_COMPLEX_DOUBLE && HAVE_CEXP
6088
      return scm_from_complex_double (cexp (SCM_COMPLEX_VALUE (z)));
6088
      return scm_from_complex_double (cexp (SCM_COMPLEX_VALUE (z)));
6089
#else
6089
#else
6090
      return scm_c_make_polar (exp (SCM_COMPLEX_REAL (z)),
6090
      return scm_c_make_polar (exp (SCM_COMPLEX_REAL (z)),

Return to bug 179728