Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  Decimal.h

  Sprache: C
 

#ifndef Decimal_H
#define Decimal_H

#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "diplomat_runtime.h"

#include "DecimalParseError.d.h"
#include "DecimalRoundingIncrement.d.h"
#include "DecimalSign.d.h"
#include "DecimalSignDisplay.d.h"
#include "DecimalSignedRoundingMode.d.h"

#include "Decimal.d.h"






Decimal* icu4x_Decimal_from_int32_mv1(int32_t v);

Decimal* icu4x_Decimal_from_uint32_mv1(uint32_t v);

Decimal* icu4x_Decimal_from_int64_mv1(int64_t v);

Decimal* icu4x_Decimal_from_uint64_mv1(uint64_t v);

typedef struct icu4x_Decimal_from_double_with_integer_precision_mv1_result {union {Decimal* ok; }; bool is_ok;} icu4x_Decimal_from_double_with_integer_precision_mv1_result;
icu4x_Decimal_from_double_with_integer_precision_mv1_result icu4x_Decimal_from_double_with_integer_precision_mv1(double f);

typedef struct icu4x_Decimal_from_double_with_lower_magnitude_mv1_result {union {Decimal* ok; }; bool is_ok;} icu4x_Decimal_from_double_with_lower_magnitude_mv1_result;
icu4x_Decimal_from_double_with_lower_magnitude_mv1_result icu4x_Decimal_from_double_with_lower_magnitude_mv1(double f, int16_t magnitude);

typedef struct icu4x_Decimal_from_double_with_significant_digits_mv1_result {union {Decimal* ok; }; bool is_ok;} icu4x_Decimal_from_double_with_significant_digits_mv1_result;
icu4x_Decimal_from_double_with_significant_digits_mv1_result icu4x_Decimal_from_double_with_significant_digits_mv1(double f, uint8_t digits);

typedef struct icu4x_Decimal_from_double_with_round_trip_precision_mv1_result {union {Decimal* ok; }; bool is_ok;} icu4x_Decimal_from_double_with_round_trip_precision_mv1_result;
icu4x_Decimal_from_double_with_round_trip_precision_mv1_result icu4x_Decimal_from_double_with_round_trip_precision_mv1(double f);

typedef struct icu4x_Decimal_from_string_mv1_result {union {Decimal* ok; DecimalParseError err;}; bool is_ok;} icu4x_Decimal_from_string_mv1_result;
icu4x_Decimal_from_string_mv1_result icu4x_Decimal_from_string_mv1(DiplomatStringView v);

uint8_t icu4x_Decimal_digit_at_mv1(const Decimal* self, int16_t magnitude);

int16_t icu4x_Decimal_magnitude_start_mv1(const Decimal* self);

int16_t icu4x_Decimal_magnitude_end_mv1(const Decimal* self);

int16_t icu4x_Decimal_nonzero_magnitude_start_mv1(const Decimal* self);

int16_t icu4x_Decimal_nonzero_magnitude_end_mv1(const Decimal* self);

bool icu4x_Decimal_is_zero_mv1(const Decimal* self);

void icu4x_Decimal_multiply_pow10_mv1(Decimal* self, int16_t power);

DecimalSign icu4x_Decimal_sign_mv1(const Decimal* self);

void icu4x_Decimal_set_sign_mv1(Decimal* self, DecimalSign sign);

void icu4x_Decimal_apply_sign_display_mv1(Decimal* self, DecimalSignDisplay sign_display);

void icu4x_Decimal_trim_start_mv1(Decimal* self);

void icu4x_Decimal_trim_end_mv1(Decimal* self);

void icu4x_Decimal_trim_end_if_integer_mv1(Decimal* self);

void icu4x_Decimal_pad_start_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_pad_end_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_set_max_position_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_round_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_ceil_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_expand_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_floor_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_trunc_mv1(Decimal* self, int16_t position);

void icu4x_Decimal_round_with_mode_mv1(Decimal* self, int16_t position, DecimalSignedRoundingMode mode);

void icu4x_Decimal_round_with_mode_and_increment_mv1(Decimal* self, int16_t position, DecimalSignedRoundingMode mode, DecimalRoundingIncrement increment);

typedef struct icu4x_Decimal_concatenate_end_mv1_result { bool is_ok;} icu4x_Decimal_concatenate_end_mv1_result;
icu4x_Decimal_concatenate_end_mv1_result icu4x_Decimal_concatenate_end_mv1(Decimal* self, Decimal* other);

void icu4x_Decimal_to_string_mv1(const Decimal* self, DiplomatWrite* write);

void icu4x_Decimal_destroy_mv1(Decimal* self);





#endif // Decimal_H

Messung V0.5 in Prozent
C=97 H=100 G=98

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland






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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002