1169689Skan/* Software floating-point emulation. 2169689Skan Return 1 iff a or b is a NaN, 0 otherwise. 3169689Skan Copyright (C) 2006 Free Software Foundation, Inc. 4169689Skan This file is part of the GNU C Library. 5169689Skan Contributed by Joseph Myers (joseph@codesourcery.com). 6169689Skan 7169689Skan The GNU C Library is free software; you can redistribute it and/or 8169689Skan modify it under the terms of the GNU Lesser General Public 9169689Skan License as published by the Free Software Foundation; either 10169689Skan version 2.1 of the License, or (at your option) any later version. 11169689Skan 12169689Skan In addition to the permissions in the GNU Lesser General Public 13169689Skan License, the Free Software Foundation gives you unlimited 14169689Skan permission to link the compiled version of this file into 15169689Skan combinations with other programs, and to distribute those 16169689Skan combinations without any restriction coming from the use of this 17169689Skan file. (The Lesser General Public License restrictions do apply in 18169689Skan other respects; for example, they cover modification of the file, 19169689Skan and distribution when not linked into a combine executable.) 20169689Skan 21169689Skan The GNU C Library is distributed in the hope that it will be useful, 22169689Skan but WITHOUT ANY WARRANTY; without even the implied warranty of 23169689Skan MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 24169689Skan Lesser General Public License for more details. 25169689Skan 26169689Skan You should have received a copy of the GNU Lesser General Public 27169689Skan License along with the GNU C Library; if not, write to the Free 28169689Skan Software Foundation, 51 Franklin Street, Fifth Floor, Boston, 29169689Skan MA 02110-1301, USA. */ 30169689Skan 31169689Skan#include "soft-fp.h" 32169689Skan#include "single.h" 33169689Skan 34169689Skanint 35169689Skan__unordsf2(SFtype a, SFtype b) 36169689Skan{ 37169689Skan FP_DECL_S(A); 38169689Skan FP_DECL_S(B); 39169689Skan int r; 40169689Skan 41169689Skan FP_UNPACK_RAW_S(A, a); 42169689Skan FP_UNPACK_RAW_S(B, b); 43169689Skan FP_CMP_UNORD_S(r, A, B); 44169689Skan 45169689Skan return r; 46169689Skan} 47