Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crlibm_private.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ unsigned long long crlibm_init() {
/* An exit function which sets FPU flags to initial value */
void crlibm_exit(unsigned long long int oldcw) {
#ifndef CRLIBM_TYPEOS_BSD
#if (defined(CRLIBM_TYPECPU_X86) || defined(CRLIBM_TYPECPU_AMD64))
# if defined(CRLIBM_HAS_FPU_CONTROL) && (defined(CRLIBM_TYPECPU_X86) || defined(CRLIBM_TYPECPU_AMD64))
/* Set FPU flags to use double, not double extended,
with rounding to nearest */
unsigned short t = (unsigned short)oldcw;
_FPU_SETCW(t);
#endif
# endif
#endif
}

Expand Down