2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
127 // [c.math.abs], absolute values
138 // [c.math.hypot3], three-dimensional hypotenuse
172 using std::nearbyint;
173 using std::nearbyintf;
174 using std::nearbyintl;
208 using std::remainder;
209 using std::remainderf;
210 using std::remainderl;
217 using std::copysignf;
218 using std::copysignl;
224 using std::nextafter;
225 using std::nextafterf;
226 using std::nextafterl;
228 using std::nexttoward;
229 using std::nexttowardf;
230 using std::nexttowardl;
248 // [c.math.lerp], linear interpolation
251 // [c.math.fpclass], classification / comparison functions
252 using std::fpclassify;
254 using std::isgreater;
255 using std::isgreaterequal;
258 using std::islessequal;
259 using std::islessgreater;
262 using std::isunordered;
265 // [sf.cmath], mathematical special functions
267 // [sf.cmath.assoc.laguerre], associated Laguerre polynomials
268 using std::assoc_laguerre;
269 using std::assoc_laguerref;
270 using std::assoc_laguerrel;
272 // [sf.cmath.assoc.legendre], associated Legendre functions
273 using std::assoc_legendre;
274 using std::assoc_legendref;
275 using std::assoc_legendrel;
277 // [sf.cmath.beta], beta function
282 // [sf.cmath.comp.ellint.1], complete elliptic integral of the first kind
283 using std::comp_ellint_1;
284 using std::comp_ellint_1f;
285 using std::comp_ellint_1l;
287 // [sf.cmath.comp.ellint.2], complete elliptic integral of the second kind
288 using std::comp_ellint_2;
289 using std::comp_ellint_2f;
290 using std::comp_ellint_2l;
292 // [sf.cmath.comp.ellint.3], complete elliptic integral of the third kind
293 using std::comp_ellint_3;
294 using std::comp_ellint_3f;
295 using std::comp_ellint_3l;
297 // [sf.cmath.cyl.bessel.i], regular modified cylindrical Bessel functions
298 using std::cyl_bessel_i;
299 using std::cyl_bessel_if;
300 using std::cyl_bessel_il;
302 // [sf.cmath.cyl.bessel.j], cylindrical Bessel functions of the first kind
303 using std::cyl_bessel_j;
304 using std::cyl_bessel_jf;
305 using std::cyl_bessel_jl;
307 // [sf.cmath.cyl.bessel.k], irregular modified cylindrical Bessel functions
308 using std::cyl_bessel_k;
309 using std::cyl_bessel_kf;
310 using std::cyl_bessel_kl;
312 // [sf.cmath.cyl.neumann], cylindrical Neumann functions
313 // cylindrical Bessel functions of the second kind
314 using std::cyl_neumann;
315 using std::cyl_neumannf;
316 using std::cyl_neumannl;
318 // [sf.cmath.ellint.1], incomplete elliptic integral of the first kind
320 using std::ellint_1f;
321 using std::ellint_1l;
323 // [sf.cmath.ellint.2], incomplete elliptic integral of the second kind
325 using std::ellint_2f;
326 using std::ellint_2l;
328 // [sf.cmath.ellint.3], incomplete elliptic integral of the third kind
330 using std::ellint_3f;
331 using std::ellint_3l;
333 // [sf.cmath.expint], exponential integral
338 // [sf.cmath.hermite], Hermite polynomials
343 // [sf.cmath.laguerre], Laguerre polynomials
345 using std::laguerref;
346 using std::laguerrel;
348 // [sf.cmath.legendre], Legendre polynomials
350 using std::legendref;
351 using std::legendrel;
353 // [sf.cmath.riemann.zeta], Riemann zeta function
354 using std::riemann_zeta;
355 using std::riemann_zetaf;
356 using std::riemann_zetal;
358 // [sf.cmath.sph.bessel], spherical Bessel functions of the first kind
359 using std::sph_bessel;
360 using std::sph_besself;
361 using std::sph_bessell;
363 // [sf.cmath.sph.legendre], spherical associated Legendre functions
364 using std::sph_legendre;
365 using std::sph_legendref;
366 using std::sph_legendrel;
368 // [sf.cmath.sph.neumann], spherical Neumann functions;
369 // spherical Bessel functions of the second kind
370 using std::sph_neumann;
371 using std::sph_neumannf;
372 using std::sph_neumannl;