Skip to content
Merged
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
10 changes: 10 additions & 0 deletions src/ansi-c/library/float.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,13 @@ inline int __builtin_flt_rounds(void)
__CPROVER_rounding_mode==3?0: // to zero
-1;
}

/* FUNCTION: __flt_rounds */

int __builtin_flt_rounds(void);

inline int __flt_rounds(void)
{
// Spotted on FreeBSD
return __builtin_flt_rounds();
}