~ubuntu-branches/ubuntu/wily/musl/wily

« back to all changes in this revision

Viewing changes to arch/sh/bits/fenv.h

  • Committer: Package Import Robot
  • Author(s): Kevin Bortis
  • Date: 2014-03-22 09:39:56 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140322093956-1oc4xt9b2n3domo7
Tags: 1.0.0-1
* Import upstream version 1.0.0
* Provide musl-ldd (Closes: #732169)
* Arch independent ld-musl-config (Closes: #739205)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __SH_FPU_ANY__
 
2
 
 
3
#define FE_ALL_EXCEPT 0
 
4
#define FE_TONEAREST  0
 
5
 
 
6
#else
 
7
 
 
8
#define FE_TONEAREST  0
 
9
#define FE_TOWARDZERO 1
 
10
 
 
11
#define FE_INEXACT    0x04
 
12
#define FE_UNDERFLOW  0x08
 
13
#define FE_OVERFLOW   0x10
 
14
#define FE_DIVBYZERO  0x20
 
15
#define FE_INVALID    0x40
 
16
#define FE_ALL_EXCEPT 0x7c
 
17
 
 
18
#endif
 
19
 
 
20
typedef unsigned long fexcept_t;
 
21
 
 
22
typedef struct {
 
23
        unsigned long __cw;
 
24
} fenv_t;
 
25
 
 
26
#define FE_DFL_ENV    ((const fenv_t *) -1)