1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

soft-fp: add macro FP_NO_EXCEPTIONS.

This commit is contained in:
Joseph Myers
2013-10-12 12:20:12 +00:00
parent 8399acaf7c
commit 8edc4a11cf
8 changed files with 48 additions and 12 deletions

View File

@ -28,19 +28,18 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
#define FP_NO_EXCEPTIONS
#include "soft-fp.h"
#include "quad.h"
TFtype
__floatunditf(UDItype i)
{
FP_DECL_EX;
FP_DECL_Q(A);
TFtype a;
FP_FROM_INT_Q(A, i, DI_BITS, UDItype);
FP_PACK_RAW_Q(a, A);
FP_HANDLE_EXCEPTIONS;
return a;
}