View | Details | Raw Unified | Return to bug 272759 | Differences between
and this patch

Collapse All | Expand All

(-)b/lib/msun/riscv/fenv.h (-5 / +7 lines)
Lines 218-240 feupdateenv(const fenv_t *__envp) Link Here
218
218
219
#if __BSD_VISIBLE
219
#if __BSD_VISIBLE
220
220
221
/* We currently provide no external definitions of the functions below. */
222
223
#ifdef __riscv_float_abi_soft
221
#ifdef __riscv_float_abi_soft
224
int feenableexcept(int __mask);
222
int feenableexcept(int __mask);
225
int fedisableexcept(int __mask);
223
int fedisableexcept(int __mask);
226
int fegetexcept(void);
224
int fegetexcept(void);
227
#else
225
#else
228
static inline int
226
__fenv_static inline int
229
feenableexcept(int __mask __unused)
227
feenableexcept(int __mask)
230
{
228
{
231
229
232
	/* No exception traps. */
230
	/* No exception traps. */
233
231
232
	if (__mask != 0)
233
		return (-1);
234
234
	return (0);
235
	return (0);
235
}
236
}
236
237
237
static inline int
238
__fenv_static inline int
238
fedisableexcept(int __mask __unused)
239
fedisableexcept(int __mask __unused)
239
{
240
{
240
241
Lines 243-248 fedisableexcept(int __mask __unused) Link Here
243
	return (0);
244
	return (0);
244
}
245
}
245
246
247
/* We currently provide no external definition of fegetexcept(). */
246
static inline int
248
static inline int
247
fegetexcept(void)
249
fegetexcept(void)
248
{
250
{

Return to bug 272759