Last change
on this file since 543 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
427 bytes
|
Line | |
---|
1 | /* Copyright (C) 2015 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 | long double |
---|
10 | __ieee754_hypotl (long double x, long double y) |
---|
11 | { |
---|
12 | #ifdef _LDBL_EQ_DBL |
---|
13 | return __ieee754_hypot (x, y); |
---|
14 | #else |
---|
15 | /* Keep it simple for now... */ |
---|
16 | return sqrtl ((x * x) + (y * y)); |
---|
17 | #endif |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.