Last change
on this file since 559 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
334 bytes
|
Rev | Line | |
---|
[444] | 1 | /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved. |
---|
| 2 | * |
---|
| 3 | * Permission to use, copy, modify, and distribute this software |
---|
| 4 | * is freely granted, provided that this notice is preserved. |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | #include "fdlibm.h" |
---|
| 8 | |
---|
| 9 | #ifndef _DOUBLE_IS_32BITS |
---|
| 10 | |
---|
| 11 | double |
---|
| 12 | exp2 (double x) |
---|
| 13 | { |
---|
| 14 | return pow(2.0, x); |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | #endif /* _DOUBLE_IS_32BITS */ |
---|
Note: See
TracBrowser
for help on using the repository browser.