Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/mips/math-emu/   (Linux Kernel Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 974 B image not shown  

SSL dp_2008class.c

  Interaktion und
PortierbarkeitC
 

// SPDX-License-Identifier: GPL-2.0-only
/*
 * IEEE754 floating point arithmetic
 * double precision: CLASS.f
 * FPR[fd] = class(FPR[fs])
 *
 * MIPS floating point support
 * Copyright (C) 2015 Imagination Technologies, Ltd.
 * Author: Markos Chandras <markos.chandras@imgtec.com>
 */


#include "ieee754dp.h"

int ieee754dp_2008class(union ieee754dp x)
{
 COMPXDP;

 EXPLODEXDP;

 /*
 * 10 bit mask as follows:
 *
 * bit0 = SNAN
 * bit1 = QNAN
 * bit2 = -INF
 * bit3 = -NORM
 * bit4 = -DNORM
 * bit5 = -ZERO
 * bit6 = INF
 * bit7 = NORM
 * bit8 = DNORM
 * bit9 = ZERO
 */


 switch(xc) {
 case IEEE754_CLASS_SNAN:
  return 0x01;
 case IEEE754_CLASS_QNAN:
  return 0x02;
 case IEEE754_CLASS_INF:
  return 0x04 << (xs ? 0 : 4);
 case IEEE754_CLASS_NORM:
  return 0x08 << (xs ? 0 : 4);
 case IEEE754_CLASS_DNORM:
  return 0x10 << (xs ? 0 : 4);
 case IEEE754_CLASS_ZERO:
  return 0x20 << (xs ? 0 : 4);
 default:
  pr_err("Unknown class: %d\n", xc);
  return 0;
 }
}

Messung V0.5 in Prozent
C=95 H=95 G=94

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.9Angebot  (Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-06-08) ¤

*Eine klare Vorstellung vom Zielzustand






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.