Searched refs:with_errno (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/libc/AOR_v20.02/math/ |
| H A D | math_err.c | 16 with_errno (double y, int e) in with_errno() function 22 #define with_errno(x, e) (x) macro 30 return with_errno (y, ERANGE); in xflow() 59 return with_errno (y, ERANGE); in __math_divzero() 66 return isnan (x) ? y : with_errno (y, EDOM); in __math_invalid() 74 return y == 0.0 ? with_errno (y, ERANGE) : y; in __math_check_uflow() 80 return isinf (y) ? with_errno (y, ERANGE) : y; in __math_check_oflow()
|
| /llvm-project-15.0.7/libc/src/math/generic/ |
| H A D | math_utils.h | 57 template <typename T> static inline T with_errno(T x, int err) { 86 return with_errno(y, ERANGE); 105 return isnan(x) ? y : with_errno(y, EDOM);
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/generic/ |
| H A D | FMod.h | 143 out = with_errno(quiet_NaN, EDOM); in PreCheck()
|