~ubuntu-branches/ubuntu/maverick/speech-tools/maverick

« back to all changes in this revision

Viewing changes to include/EST_math.h

  • Committer: Bazaar Package Importer
  • Author(s): Kumar Appaiah, Kartik Mistry, Kumar Appaiah
  • Date: 2010-07-17 11:32:04 UTC
  • mfrom: (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100717113204-mnse3jo236j107q8
Tags: 1:2.0.95~beta-1
[ Kartik Mistry ]
* debian/control:
  + [Lintian] Added missing ${misc:Depends}
  + Updated Standards-Version to 3.8.4 (no changes needed)
* debian/patches/const_char.diff:
  + Added missing patch header
* Removed unused patch invalid_const_char_conversion_fixes.diff

[ Kumar Appaiah ]
* New upstream release.
* Standards Version is now 3.9.0 (No changes needed)
* Update debian/rules to specify version numbers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
 
101
101
/* Apple OSX */
102
102
#if defined(__APPLE__)
103
 
#define isnanf(X) isnan(X)
104
 
#define isnan(X) __isnan(X)
 
103
#define isnanf(X) isnan((double)(X))
 
104
/* on some previous versions of OSX we seemed to need the following */
 
105
/* but not on 10.4 */
 
106
/* #define isnan(X) __isnan(X) */
105
107
#endif
106
108
 
107
109
/* FreeBSD *and other 4.4 based systems require anything, isnanf is defined */
109
111
 
110
112
#endif
111
113
 
 
114
/* Cygwin (at least cygwin 1.7 with gcc 4.3.4) */ 
 
115
#if defined(__CYGWIN__)
 
116
#if __GNUG__ > 3
 
117
#define isnanf(X) isnan(X)
 
118
#endif
 
119
#endif
 
120
 
112
121
/* WIN32 has stupid names for things */
113
122
#if defined(SYSTEM_IS_WIN32)
114
123
#define finite(X) _finite(X)