~ubuntu-branches/ubuntu/quantal/psicode/quantal

« back to all changes in this revision

Viewing changes to src/bin/dboc/float.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2006-09-10 14:01:33 UTC
  • Revision ID: james.westby@ubuntu.com-20060910140133-ib2j86trekykfsfv
Tags: upstream-3.2.3
ImportĀ upstreamĀ versionĀ 3.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef _psi3_dboc_float_h_
 
3
#define _psi3_dboc_float_h_
 
4
 
 
5
#include "defines.h"
 
6
 
 
7
#if LONG_DOUBLE
 
8
typedef long double FLOAT;
 
9
#else
 
10
typedef double FLOAT;
 
11
#endif
 
12
 
 
13
#if LONG_DOUBLE
 
14
#  ifdef AIX
 
15
#    define FABS fabsl
 
16
#  else
 
17
#    define FABS fabs
 
18
#  endif
 
19
#else
 
20
#  define FABS fabs
 
21
#endif
 
22
 
 
23
#endif