Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/icu_capi/bindings/cpp/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 4 kB image not shown  

Quelle  ICU4XFixedDecimal.h   Sprache: C

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

#ifdef __cplusplus
namespace capi {
#endif

typedef struct ICU4XFixedDecimal ICU4XFixedDecimal;
#ifdef __cplusplus
// namespace capi
#endif
#include "diplomat_result_box_ICU4XFixedDecimal_ICU4XError.h"
#include "ICU4XFixedDecimalSign.h"
#include "ICU4XFixedDecimalSignDisplay.h"
#include "ICU4XRoundingIncrement.h"
#include "diplomat_result_void_void.h"
#ifdef __cplusplus
namespace capi {
extern "C" {
#endif

ICU4XFixedDecimal* ICU4XFixedDecimal_create_from_i32(int32_t v);

ICU4XFixedDecimal* ICU4XFixedDecimal_create_from_u32(uint32_t v);

ICU4XFixedDecimal* ICU4XFixedDecimal_create_from_i64(int64_t v);

ICU4XFixedDecimal* ICU4XFixedDecimal_create_from_u64(uint64_t v);

diplomat_result_box_ICU4XFixedDecimal_ICU4XError ICU4XFixedDecimal_create_from_f64_with_integer_precision(double f);

diplomat_result_box_ICU4XFixedDecimal_ICU4XError ICU4XFixedDecimal_create_from_f64_with_lower_magnitude(double f, int16_t magnitude);

diplomat_result_box_ICU4XFixedDecimal_ICU4XError ICU4XFixedDecimal_create_from_f64_with_significant_digits(double f, uint8_t digits);

diplomat_result_box_ICU4XFixedDecimal_ICU4XError ICU4XFixedDecimal_create_from_f64_with_floating_precision(double f);

diplomat_result_box_ICU4XFixedDecimal_ICU4XError ICU4XFixedDecimal_create_from_string(const char* v_data, size_t v_len);

uint8_t ICU4XFixedDecimal_digit_at(const ICU4XFixedDecimal* self, int16_t magnitude);

int16_t ICU4XFixedDecimal_magnitude_start(const ICU4XFixedDecimal* self);

int16_t ICU4XFixedDecimal_magnitude_end(const ICU4XFixedDecimal* self);

int16_t ICU4XFixedDecimal_nonzero_magnitude_start(const ICU4XFixedDecimal* self);

int16_t ICU4XFixedDecimal_nonzero_magnitude_end(const ICU4XFixedDecimal* self);

bool ICU4XFixedDecimal_is_zero(const ICU4XFixedDecimal* self);

void ICU4XFixedDecimal_multiply_pow10(ICU4XFixedDecimal* self, int16_t power);

ICU4XFixedDecimalSign ICU4XFixedDecimal_sign(const ICU4XFixedDecimal* self);

void ICU4XFixedDecimal_set_sign(ICU4XFixedDecimal* self, ICU4XFixedDecimalSign sign);

void ICU4XFixedDecimal_apply_sign_display(ICU4XFixedDecimal* self, ICU4XFixedDecimalSignDisplay sign_display);

void ICU4XFixedDecimal_trim_start(ICU4XFixedDecimal* self);

void ICU4XFixedDecimal_trim_end(ICU4XFixedDecimal* self);

void ICU4XFixedDecimal_pad_start(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_pad_end(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_set_max_position(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_trunc(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_trunc_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_half_trunc(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_half_trunc_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_expand(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_expand_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_half_expand(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_half_expand_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_ceil(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_ceil_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_half_ceil(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_half_ceil_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_floor(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_floor_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_half_floor(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_half_floor_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

void ICU4XFixedDecimal_half_even(ICU4XFixedDecimal* self, int16_t position);

void ICU4XFixedDecimal_half_even_to_increment(ICU4XFixedDecimal* self, int16_t position, ICU4XRoundingIncrement increment);

diplomat_result_void_void ICU4XFixedDecimal_concatenate_end(ICU4XFixedDecimal* self, ICU4XFixedDecimal* other);

void ICU4XFixedDecimal_to_string(const ICU4XFixedDecimal* self, DiplomatWriteable* to);
void ICU4XFixedDecimal_destroy(ICU4XFixedDecimal* self);

#ifdef __cplusplus
// extern "C"
// namespace capi
#endif
#endif

Messung V0.5
C=92 H=98 G=94

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.