Merge "Nullability check for math module" am: b7086f3062

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2425734

Change-Id: Ic358989776c4ce98e458be07f760b2361b5af06c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-02-09 09:57:56 +00:00 committed by Automerger Merge Worker
commit baa80c4e29

View file

@ -137,9 +137,9 @@ double expm1(double __x);
float expm1f(float __x); float expm1f(float __x);
long double expm1l(long double __x) __RENAME_LDBL(expm1, 3, 21); long double expm1l(long double __x) __RENAME_LDBL(expm1, 3, 21);
double frexp(double __x, int* __exponent); double frexp(double __x, int* _Nonnull __exponent);
float frexpf(float __x, int* __exponent); float frexpf(float __x, int* _Nonnull __exponent);
long double frexpl(long double __x, int* __exponent) __RENAME_LDBL(frexp, 3, 21); long double frexpl(long double __x, int* _Nonnull __exponent) __RENAME_LDBL(frexp, 3, 21);
int ilogb(double __x) __attribute_const__; int ilogb(double __x) __attribute_const__;
int ilogbf(float __x) __attribute_const__; int ilogbf(float __x) __attribute_const__;
@ -169,9 +169,9 @@ double logb(double __x);
float logbf(float __x); float logbf(float __x);
long double logbl(long double __x) __RENAME_LDBL(logb, 3, 18); long double logbl(long double __x) __RENAME_LDBL(logb, 3, 18);
double modf(double __x, double* __integral_part); double modf(double __x, double* _Nonnull __integral_part);
float modff(float __x, float* __integral_part); float modff(float __x, float* _Nonnull __integral_part);
long double modfl(long double __x, long double* __integral_part) __RENAME_LDBL(modf, 3, 21); long double modfl(long double __x, long double* _Nonnull __integral_part) __RENAME_LDBL(modf, 3, 21);
double scalbn(double __x, int __exponent); double scalbn(double __x, int __exponent);
float scalbnf(float __x, int __exponent); float scalbnf(float __x, int __exponent);
@ -266,17 +266,17 @@ double remainder(double __x, double __y);
float remainderf(float __x, float __y); float remainderf(float __x, float __y);
long double remainderl(long double __x, long double __y) __RENAME_LDBL(remainder, 3, 21); long double remainderl(long double __x, long double __y) __RENAME_LDBL(remainder, 3, 21);
double remquo(double __x, double __y, int* __quotient_bits); double remquo(double __x, double __y, int* _Nonnull __quotient_bits);
float remquof(float __x, float __y, int* __quotient_bits); float remquof(float __x, float __y, int* _Nonnull __quotient_bits);
long double remquol(long double __x, long double __y, int* __quotient_bits) __RENAME_LDBL(remquo, 3, 21); long double remquol(long double __x, long double __y, int* _Nonnull __quotient_bits) __RENAME_LDBL(remquo, 3, 21);
double copysign(double __value, double __sign) __attribute_const__; double copysign(double __value, double __sign) __attribute_const__;
float copysignf(float __value, float __sign) __attribute_const__; float copysignf(float __value, float __sign) __attribute_const__;
long double copysignl(long double __value, long double __sign) __RENAME_LDBL(copysign, 3, 3) __attribute_const__; long double copysignl(long double __value, long double __sign) __RENAME_LDBL(copysign, 3, 3) __attribute_const__;
double nan(const char* __kind) __attribute_const__; double nan(const char* _Nonnull __kind) __attribute_const__;
float nanf(const char* __kind) __attribute_const__; float nanf(const char* _Nonnull __kind) __attribute_const__;
long double nanl(const char* __kind) __RENAME_LDBL(nan, 13, 13) __attribute_const__; long double nanl(const char* _Nonnull __kind) __RENAME_LDBL(nan, 13, 13) __attribute_const__;
double nextafter(double __x, double __y); double nextafter(double __x, double __y);
float nextafterf(float __x, float __y); float nextafterf(float __x, float __y);
@ -364,10 +364,10 @@ double scalb(double __x, double __exponent);
double drem(double __x, double __y); double drem(double __x, double __y);
int finite(double __x) __attribute_const__; int finite(double __x) __attribute_const__;
int isnanf(float __x) __attribute_const__; int isnanf(float __x) __attribute_const__;
double gamma_r(double __x, int* __sign); double gamma_r(double __x, int* _Nonnull __sign);
double lgamma_r(double __x, int* __sign); double lgamma_r(double __x, int* _Nonnull __sign);
double significand(double __x); double significand(double __x);
long double lgammal_r(long double __x, int* __sign) __INTRODUCED_IN(23); long double lgammal_r(long double __x, int* _Nonnull __sign) __INTRODUCED_IN(23);
long double significandl(long double __x) __INTRODUCED_IN(21); long double significandl(long double __x) __INTRODUCED_IN(21);
float dremf(float __x, float __y); float dremf(float __x, float __y);
int finitef(float __x) __attribute_const__; int finitef(float __x) __attribute_const__;
@ -379,12 +379,12 @@ float scalbf(float __x, float __exponent);
float y0f(float __x); float y0f(float __x);
float y1f(float __x); float y1f(float __x);
float ynf(int __n, float __x); float ynf(int __n, float __x);
float gammaf_r(float __x, int* __sign); float gammaf_r(float __x, int* _Nonnull __sign);
float lgammaf_r(float __x, int* __sign); float lgammaf_r(float __x, int* _Nonnull __sign);
float significandf(float __x); float significandf(float __x);
void sincos(double __x, double* __sin, double* __cos); void sincos(double __x, double* _Nonnull __sin, double* _Nonnull __cos);
void sincosf(float __x, float* __sin, float* __cos); void sincosf(float __x, float* _Nonnull __sin, float* _Nonnull __cos);
void sincosl(long double __x, long double* __sin, long double* __cos); void sincosl(long double __x, long double* _Nonnull __sin, long double* _Nonnull __cos);
#endif #endif
/* GNU extensions. */ /* GNU extensions. */