uclibc-cmath.ppc 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. diff -Nur gcc-4.9.2.orig/libstdc++-v3/include/c_global/cmath gcc-4.9.2/libstdc++-v3/include/c_global/cmath
  2. --- gcc-4.9.2.orig/libstdc++-v3/include/c_global/cmath 2014-01-02 16:30:10.000000000 -0600
  3. +++ gcc-4.9.2/libstdc++-v3/include/c_global/cmath 2015-06-02 20:29:58.615890169 -0500
  4. @@ -1041,143 +1041,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. /// Additional overloads.
  182. constexpr float
  183. diff -Nur gcc-4.9.2.orig/libstdc++-v3/include/tr1/cmath gcc-4.9.2/libstdc++-v3/include/tr1/cmath
  184. --- gcc-4.9.2.orig/libstdc++-v3/include/tr1/cmath 2014-01-02 16:30:10.000000000 -0600
  185. +++ gcc-4.9.2/libstdc++-v3/include/tr1/cmath 2015-06-02 20:29:58.619890102 -0500
  186. @@ -158,143 +158,213 @@
  187. // functions
  188. using ::acosh;
  189. using ::acoshf;
  190. +#ifdef __LONG_DOUBLE_128__
  191. using ::acoshl;
  192. +#endif
  193. using ::asinh;
  194. using ::asinhf;
  195. +#ifdef __LONG_DOUBLE_128__
  196. using ::asinhl;
  197. +#endif
  198. using ::atanh;
  199. using ::atanhf;
  200. +#ifdef __LONG_DOUBLE_128__
  201. using ::atanhl;
  202. +#endif
  203. using ::cbrt;
  204. using ::cbrtf;
  205. +#ifdef __LONG_DOUBLE_128__
  206. using ::cbrtl;
  207. +#endif
  208. using ::copysign;
  209. using ::copysignf;
  210. +#ifdef __LONG_DOUBLE_128__
  211. using ::copysignl;
  212. +#endif
  213. using ::erf;
  214. using ::erff;
  215. +#ifdef __LONG_DOUBLE_128__
  216. using ::erfl;
  217. +#endif
  218. using ::erfc;
  219. using ::erfcf;
  220. +#ifdef __LONG_DOUBLE_128__
  221. using ::erfcl;
  222. +#endif
  223. using ::exp2;
  224. using ::exp2f;
  225. +#ifdef __LONG_DOUBLE_128__
  226. using ::exp2l;
  227. +#endif
  228. using ::expm1;
  229. using ::expm1f;
  230. +#ifdef __LONG_DOUBLE_128__
  231. using ::expm1l;
  232. +#endif
  233. using ::fdim;
  234. using ::fdimf;
  235. +#ifdef __LONG_DOUBLE_128__
  236. using ::fdiml;
  237. +#endif
  238. using ::fma;
  239. using ::fmaf;
  240. +#ifdef __LONG_DOUBLE_128__
  241. using ::fmal;
  242. +#endif
  243. using ::fmax;
  244. using ::fmaxf;
  245. +#ifdef __LONG_DOUBLE_128__
  246. using ::fmaxl;
  247. +#endif
  248. using ::fmin;
  249. using ::fminf;
  250. +#ifdef __LONG_DOUBLE_128__
  251. using ::fminl;
  252. +#endif
  253. using ::hypot;
  254. using ::hypotf;
  255. +#ifdef __LONG_DOUBLE_128__
  256. using ::hypotl;
  257. +#endif
  258. using ::ilogb;
  259. using ::ilogbf;
  260. +#ifdef __LONG_DOUBLE_128__
  261. using ::ilogbl;
  262. +#endif
  263. using ::lgamma;
  264. using ::lgammaf;
  265. +#ifdef __LONG_DOUBLE_128__
  266. using ::lgammal;
  267. +#endif
  268. using ::llrint;
  269. using ::llrintf;
  270. +#ifdef __LONG_DOUBLE_128__
  271. using ::llrintl;
  272. +#endif
  273. using ::llround;
  274. using ::llroundf;
  275. +#ifdef __LONG_DOUBLE_128__
  276. using ::llroundl;
  277. +#endif
  278. using ::log1p;
  279. using ::log1pf;
  280. +#ifdef __LONG_DOUBLE_128__
  281. using ::log1pl;
  282. +#endif
  283. using ::log2;
  284. using ::log2f;
  285. +#ifdef __LONG_DOUBLE_128__
  286. using ::log2l;
  287. +#endif
  288. using ::logb;
  289. using ::logbf;
  290. +#ifdef __LONG_DOUBLE_128__
  291. using ::logbl;
  292. +#endif
  293. using ::lrint;
  294. using ::lrintf;
  295. +#ifdef __LONG_DOUBLE_128__
  296. using ::lrintl;
  297. +#endif
  298. using ::lround;
  299. using ::lroundf;
  300. +#ifdef __LONG_DOUBLE_128__
  301. using ::lroundl;
  302. +#endif
  303. using ::nan;
  304. using ::nanf;
  305. +#ifdef __LONG_DOUBLE_128__
  306. using ::nanl;
  307. +#endif
  308. using ::nearbyint;
  309. using ::nearbyintf;
  310. +#ifdef __LONG_DOUBLE_128__
  311. using ::nearbyintl;
  312. +#endif
  313. using ::nextafter;
  314. using ::nextafterf;
  315. +#ifdef __LONG_DOUBLE_128__
  316. using ::nextafterl;
  317. +#endif
  318. using ::nexttoward;
  319. using ::nexttowardf;
  320. +#ifdef __LONG_DOUBLE_128__
  321. using ::nexttowardl;
  322. +#endif
  323. using ::remainder;
  324. using ::remainderf;
  325. +#ifdef __LONG_DOUBLE_128__
  326. using ::remainderl;
  327. +#endif
  328. using ::remquo;
  329. using ::remquof;
  330. +#ifdef __LONG_DOUBLE_128__
  331. using ::remquol;
  332. +#endif
  333. using ::rint;
  334. using ::rintf;
  335. +#ifdef __LONG_DOUBLE_128__
  336. using ::rintl;
  337. +#endif
  338. using ::round;
  339. using ::roundf;
  340. +#ifdef __LONG_DOUBLE_128__
  341. using ::roundl;
  342. +#endif
  343. using ::scalbln;
  344. using ::scalblnf;
  345. +#ifdef __LONG_DOUBLE_128__
  346. using ::scalblnl;
  347. +#endif
  348. using ::scalbn;
  349. using ::scalbnf;
  350. +#ifdef __LONG_DOUBLE_128__
  351. using ::scalbnl;
  352. +#endif
  353. using ::tgamma;
  354. using ::tgammaf;
  355. +#ifdef __LONG_DOUBLE_128__
  356. using ::tgammal;
  357. +#endif
  358. using ::trunc;
  359. using ::truncf;
  360. +#ifdef __LONG_DOUBLE_128__
  361. using ::truncl;
  362. +#endif
  363. #endif