/* Like fp-cmp-4.c, but test that the setcc patterns are correct. */ static int test_isunordered(double x, double y) { return …
fp 源代码
FP技术,全称Field-Programmable,以其高度灵活性和可定制性在电子设计领域独树一帜。广泛应用于通信、消费电子及工业控制等多个行业,是实现快速原型开发与产品迭代的理想选择。掌握FP技术不仅能够显著提升工程师的设计效率,还能有效降低项目成本。本站提供72个精选FP相关…
void test_isunordered(double x, double y, int true) { if (__builtin_isunordered(x, y)) { if (! true) abort (); } …
#include float fnan = 1.0f/0.0f - 1.0f/0.0f; float x = 1.0f; void leave () { exit (0); } main () { #if ! defined (__vax__) &…
/* Like fp-cmp-4.c, but test that the cmove patterns are correct. */ static double test_isunordered(double x, double y, double a…
#include long double dnan = 1.0l/0.0l - 1.0l/0.0l; long double x = 1.0l; void leave () { exit (0); } main () { #if ! defined…
const double dnan = 1.0/0.0 - 1.0/0.0; double x = 1.0; extern void link_error (void); extern void abort (void); main () { #if ! …
/* * Copyright (C) 2007 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who co…
/* * Copyright (C) 2007 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who co…
extern void link_error (); void foo(double x) { if (x > __builtin_inf()) link_error (); } int main () { foo (1.0); ret…
#include double dnan = 1.0/0.0 - 1.0/0.0; double x = 1.0; void leave () { exit (0); } main () { #if ! defined (__vax__) && !…