multiversx_sc/api/uncallable/
big_float_api_uncallable.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
use core::cmp::Ordering;

use crate::api::{BigFloatApiImpl, Sign};

impl BigFloatApiImpl for super::UncallableApi {
    fn bf_from_parts(
        &self,
        _integral_part: i32,
        _fractional_part: i32,
        _exponent: i32,
    ) -> Self::BigFloatHandle {
        unreachable!()
    }
    fn bf_from_frac(&self, _numerator: i64, _denominator: i64) -> Self::BigFloatHandle {
        unreachable!()
    }
    fn bf_from_sci(&self, _significand: i64, _exponent: i64) -> Self::BigFloatHandle {
        unreachable!()
    }

    fn bf_add(
        &self,
        _dest: Self::BigFloatHandle,
        _x: Self::BigFloatHandle,
        _y: Self::BigFloatHandle,
    ) {
        unreachable!()
    }
    fn bf_sub(
        &self,
        _dest: Self::BigFloatHandle,
        _x: Self::BigFloatHandle,
        _y: Self::BigFloatHandle,
    ) {
        unreachable!()
    }
    fn bf_mul(
        &self,
        _dest: Self::BigFloatHandle,
        _x: Self::BigFloatHandle,
        _y: Self::BigFloatHandle,
    ) {
        unreachable!()
    }
    fn bf_div(
        &self,
        _dest: Self::BigFloatHandle,
        _x: Self::BigFloatHandle,
        _y: Self::BigFloatHandle,
    ) {
        unreachable!()
    }

    fn bf_abs(&self, _dest: Self::BigFloatHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_neg(&self, _dest: Self::BigFloatHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_cmp(&self, _x: Self::BigFloatHandle, _y: Self::BigFloatHandle) -> Ordering {
        unreachable!()
    }
    fn bf_sign(&self, _x: Self::BigFloatHandle) -> Sign {
        unreachable!()
    }
    fn bf_clone(&self, _dest: Self::BigFloatHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_sqrt(&self, _dest: Self::BigFloatHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_pow(&self, _dest: Self::BigFloatHandle, _x: Self::BigFloatHandle, _exp: i32) {
        unreachable!()
    }

    fn bf_floor(&self, _dest: Self::BigIntHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_ceil(&self, _dest: Self::BigIntHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_trunc(&self, _dest: Self::BigIntHandle, _x: Self::BigFloatHandle) {
        unreachable!()
    }

    fn bf_is_bi(&self, _x: Self::BigFloatHandle) -> bool {
        unreachable!()
    }

    fn bf_set_i64(&self, _dest: Self::BigFloatHandle, _value: i64) {
        unreachable!()
    }

    fn bf_set_bi(&self, _dest: Self::BigFloatHandle, _bi: Self::BigIntHandle) {
        unreachable!()
    }

    fn bf_get_const_pi(&self, _dest: Self::BigFloatHandle) {
        unreachable!()
    }
    fn bf_get_const_e(&self, _dest: Self::BigFloatHandle) {
        unreachable!()
    }
}