Last change
on this file since 373 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
332 bytes
|
Rev | Line | |
---|
[352] | 1 | #include <limits.h>
|
---|
| 2 | #include <math.h>
|
---|
| 3 | #include <float.h>
|
---|
| 4 |
|
---|
| 5 | #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
|
---|
| 6 | long double scalblnl(long double x, long n)
|
---|
| 7 | {
|
---|
| 8 | return scalbln(x, n);
|
---|
| 9 | }
|
---|
| 10 | #else
|
---|
| 11 | long double scalblnl(long double x, long n)
|
---|
| 12 | {
|
---|
| 13 | if (n > INT_MAX)
|
---|
| 14 | n = INT_MAX;
|
---|
| 15 | else if (n < INT_MIN)
|
---|
| 16 | n = INT_MIN;
|
---|
| 17 | return scalbnl(x, n);
|
---|
| 18 | }
|
---|
| 19 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.