1
0

ppc-uclibc-cmath.patch 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. diff -Nur gcc-4.7.3.orig/libstdc++-v3/include/tr1/cmath gcc-4.7.3/libstdc++-v3/include/tr1/cmath
  2. --- gcc-4.7.3.orig/libstdc++-v3/include/tr1/cmath 2011-11-14 00:51:42.000000000 +0100
  3. +++ gcc-4.7.3/libstdc++-v3/include/tr1/cmath 2013-09-22 20:13:54.000000000 +0200
  4. @@ -159,143 +159,213 @@
  5. // functions
  6. using ::acosh;
  7. using ::acoshf;
  8. +#ifdef __LONG_DOUBLE_128__
  9. using ::acoshl;
  10. +#endif
  11. using ::asinh;
  12. using ::asinhf;
  13. +#ifdef __LONG_DOUBLE_128__
  14. using ::asinhl;
  15. +#endif
  16. using ::atanh;
  17. using ::atanhf;
  18. +#ifdef __LONG_DOUBLE_128__
  19. using ::atanhl;
  20. +#endif
  21. using ::cbrt;
  22. using ::cbrtf;
  23. +#ifdef __LONG_DOUBLE_128__
  24. using ::cbrtl;
  25. +#endif
  26. using ::copysign;
  27. using ::copysignf;
  28. +#ifdef __LONG_DOUBLE_128__
  29. using ::copysignl;
  30. +#endif
  31. using ::erf;
  32. using ::erff;
  33. +#ifdef __LONG_DOUBLE_128__
  34. using ::erfl;
  35. +#endif
  36. using ::erfc;
  37. using ::erfcf;
  38. +#ifdef __LONG_DOUBLE_128__
  39. using ::erfcl;
  40. +#endif
  41. using ::exp2;
  42. using ::exp2f;
  43. +#ifdef __LONG_DOUBLE_128__
  44. using ::exp2l;
  45. +#endif
  46. using ::expm1;
  47. using ::expm1f;
  48. +#ifdef __LONG_DOUBLE_128__
  49. using ::expm1l;
  50. +#endif
  51. using ::fdim;
  52. using ::fdimf;
  53. +#ifdef __LONG_DOUBLE_128__
  54. using ::fdiml;
  55. +#endif
  56. using ::fma;
  57. using ::fmaf;
  58. +#ifdef __LONG_DOUBLE_128__
  59. using ::fmal;
  60. +#endif
  61. using ::fmax;
  62. using ::fmaxf;
  63. +#ifdef __LONG_DOUBLE_128__
  64. using ::fmaxl;
  65. +#endif
  66. using ::fmin;
  67. using ::fminf;
  68. +#ifdef __LONG_DOUBLE_128__
  69. using ::fminl;
  70. +#endif
  71. using ::hypot;
  72. using ::hypotf;
  73. +#ifdef __LONG_DOUBLE_128__
  74. using ::hypotl;
  75. +#endif
  76. using ::ilogb;
  77. using ::ilogbf;
  78. +#ifdef __LONG_DOUBLE_128__
  79. using ::ilogbl;
  80. +#endif
  81. using ::lgamma;
  82. using ::lgammaf;
  83. +#ifdef __LONG_DOUBLE_128__
  84. using ::lgammal;
  85. +#endif
  86. using ::llrint;
  87. using ::llrintf;
  88. +#ifdef __LONG_DOUBLE_128__
  89. using ::llrintl;
  90. +#endif
  91. using ::llround;
  92. using ::llroundf;
  93. +#ifdef __LONG_DOUBLE_128__
  94. using ::llroundl;
  95. +#endif
  96. using ::log1p;
  97. using ::log1pf;
  98. +#ifdef __LONG_DOUBLE_128__
  99. using ::log1pl;
  100. +#endif
  101. using ::log2;
  102. using ::log2f;
  103. +#ifdef __LONG_DOUBLE_128__
  104. using ::log2l;
  105. +#endif
  106. using ::logb;
  107. using ::logbf;
  108. +#ifdef __LONG_DOUBLE_128__
  109. using ::logbl;
  110. +#endif
  111. using ::lrint;
  112. using ::lrintf;
  113. +#ifdef __LONG_DOUBLE_128__
  114. using ::lrintl;
  115. +#endif
  116. using ::lround;
  117. using ::lroundf;
  118. +#ifdef __LONG_DOUBLE_128__
  119. using ::lroundl;
  120. +#endif
  121. using ::nan;
  122. using ::nanf;
  123. +#ifdef __LONG_DOUBLE_128__
  124. using ::nanl;
  125. +#endif
  126. using ::nearbyint;
  127. using ::nearbyintf;
  128. +#ifdef __LONG_DOUBLE_128__
  129. using ::nearbyintl;
  130. +#endif
  131. using ::nextafter;
  132. using ::nextafterf;
  133. +#ifdef __LONG_DOUBLE_128__
  134. using ::nextafterl;
  135. +#endif
  136. using ::nexttoward;
  137. using ::nexttowardf;
  138. +#ifdef __LONG_DOUBLE_128__
  139. using ::nexttowardl;
  140. +#endif
  141. using ::remainder;
  142. using ::remainderf;
  143. +#ifdef __LONG_DOUBLE_128__
  144. using ::remainderl;
  145. +#endif
  146. using ::remquo;
  147. using ::remquof;
  148. +#ifdef __LONG_DOUBLE_128__
  149. using ::remquol;
  150. +#endif
  151. using ::rint;
  152. using ::rintf;
  153. +#ifdef __LONG_DOUBLE_128__
  154. using ::rintl;
  155. +#endif
  156. using ::round;
  157. using ::roundf;
  158. +#ifdef __LONG_DOUBLE_128__
  159. using ::roundl;
  160. +#endif
  161. using ::scalbln;
  162. using ::scalblnf;
  163. +#ifdef __LONG_DOUBLE_128__
  164. using ::scalblnl;
  165. +#endif
  166. using ::scalbn;
  167. using ::scalbnf;
  168. +#ifdef __LONG_DOUBLE_128__
  169. using ::scalbnl;
  170. +#endif
  171. using ::tgamma;
  172. using ::tgammaf;
  173. +#ifdef __LONG_DOUBLE_128__
  174. using ::tgammal;
  175. +#endif
  176. using ::trunc;
  177. using ::truncf;
  178. +#ifdef __LONG_DOUBLE_128__
  179. using ::truncl;
  180. +#endif
  181. #endif