-
Notifications
You must be signed in to change notification settings - Fork 1
/
decfloat.h
32 lines (26 loc) · 1.42 KB
/
decfloat.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ------------------------------------------------------------------ */
/* decfloat.h header -- dfp additions to standard header <float.h> */
/* ------------------------------------------------------------------ */
/* Copyright (c) IBM Corporation, 2006. All rights reserved. */
/* */
/* This software is made available under the terms of the IBM */
/* alphaWorks License Agreement (distributed with this software as */
/* alphaWorks-License.txt). Your use of this software indicates */
/* your acceptance of the terms and conditions of that Agreement. */
/* */
/* Please send comments, suggestions, and corrections to the author: */
/* klarer@ca.ibm.com */
/* Robert Klarer */
/* ------------------------------------------------------------------ */
#ifndef _DECFLOAT_H_
#define _DECFLOAT_H_
#include "cdecfloat"
typedef std::decimal::decimal32 _Decimal32;
typedef std::decimal::decimal64 _Decimal64;
typedef std::decimal::decimal128 _Decimal128;
using std::decimal::decimal32;
using std::decimal::decimal64;
using std::decimal::decimal128;
using std::decimal::fe_dec_getround;
using std::decimal::fe_dec_setround;
#endif /* ndef _DECFLOAT_H_ */