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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user