~ubuntu-branches/ubuntu/jaunty/speech-tools/jaunty

« back to all changes in this revision

Viewing changes to include/EST_math.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2004-07-16 09:25:39 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040716092539-5p1tzif55b8j924e
Tags: 1:1.2.3-8
Added alaw processing code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#ifndef __EST_MATH_H__
42
42
#define __EST_MATH_H__
43
43
 
 
44
#if defined(__APPLE__)
 
45
/* Not sure why I need this here, but I do */
 
46
extern "C" int isnan(double);
 
47
#endif
 
48
 
44
49
#include <math.h>
45
50
#include <limits.h>
46
51
#include <float.h>
84
89
#define isnanf(X) isnan(X)
85
90
#endif
86
91
 
 
92
/* Apple OSX */
 
93
#if defined(__APPLE__)
 
94
#define isnanf(X) isnan(X)
 
95
#endif
 
96
 
87
97
/* FreeBSD *and other 4.4 based systems require anything, isnanf is defined */
88
98
#if defined(__FreeBSD__)
89
99