Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postgres/src/bin/pg_combinebackup/   (Postgres Database Version 18.4©)  Datei vom 11.4.2026 mit Größe 1 kB image not shown  

Quellcode-Bibliothek decimal.rs

  Sprache: Rust
 

use core::ffi::c_ushort;

use objc2::encode::{Encode, Encoding, RefEncode};

#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct NSDecimal {
    // signed   int _exponent:8;
    // unsigned int _length:4;
    // unsigned int _isNegative:1;
    // unsigned int _isCompact:1;
    // unsigned int _reserved:18;
    pub(crate) _inner: i32,
    pub(crate) _mantissa: [c_ushort; 8],
}

unsafe impl Encode for NSDecimal {
    const ENCODING: Encoding = Encoding::Struct(
        "?",
        &[
            Encoding::BitField(8, None),
            Encoding::BitField(4, None),
            Encoding::BitField(1, None),
            Encoding::BitField(1, None),
            Encoding::BitField(18, None),
            Encoding::Array(8, &Encoding::UShort),
        ],
    );
}

unsafe impl RefEncode for NSDecimal {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

Messung V0.5 in Prozent
C=69 H=90 G=80

¤ 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.0.3Bemerkung:  ¤

*Bot Zugriff






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.