-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshims.d.ts
155 lines (129 loc) · 4.36 KB
/
shims.d.ts
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
// Auto-generated. Do not edit.
declare namespace sfloat {
/**
* Perform soft-float conversion
*/
//% blockId=sfloat_fromInt block="Convert to SoftFloat %x" shim=sfloat::fromInt
function fromInt(x: number): number;
/**
* Add two soft floats
*/
//% blockId=sfloat_add block="[SF] add x %x|and y %y" shim=sfloat::add
function add(x: number, y: number): number;
/**
* Multiply two soft floats
*/
//% blockId=sfloat_add_f block="[F] add x %x|and y %y" shim=sfloat::add_f
function add_f(x: number, y: number): number;
/**
* Multiply two soft floats
*/
//% blockId=sfloat_multiply block="[SF] multiply x %x|and y %y" shim=sfloat::multiply
function multiply(x: number, y: number): number;
/**
* Multiply two soft floats
*/
//% blockId=sfloat_multiply_f block="[F] multiply x %x|and y %y" shim=sfloat::multiply_f
function multiply_f(x: number, y: number): number;
/**
* Subtract two soft floats
*/
//% blockId=sfloat_minus block="[SF] subtract y %y|from x %x" shim=sfloat::minus
function minus(x: number, y: number): number;
/**
* Subtract two soft floats
*/
//% blockId=sfloat_minus_f block="[F] subtract y %y|from x %x" shim=sfloat::minus_f
function minus_f(x: number, y: number): number;
/**
* Divide two soft floats
*/
//% blockId=sfloat_div_f block="[F] divide x %x|by y %y" shim=sfloat::div_f
function div_f(x: number, y: number): number;
/**
* Divide two soft floats
*/
//% blockId=sfloat_div block="[SF] divide x %x|by y %y" shim=sfloat::div
function div(x: number, y: number): number;
/**
* Get sine of a soft float
*/
//% blockId=sfloat_sin block="[SF] sine of radians %x" shim=sfloat::sin
function sin(x: number): number;
/**
* Get sine of a soft float
*/
//% blockId=sfloat_sin_f block="[F] sine of radians %x" shim=sfloat::sin_f
function sin_f(x: number): number;
/**
* Get cosine of a soft float
*/
//% blockId=sfloat_cos block="[SF] cosine of radians %x" shim=sfloat::cos
function cos(x: number): number;
/**
* Get cosine of a soft float
*/
//% blockId=sfloat_cos_f block="[F] cosine of radians %x" shim=sfloat::cos_f
function cos_f(x: number): number;
/**
* Get tangens of a soft float
*/
//% blockId=sfloat_tan block="[SF] tangens of radians %x" shim=sfloat::tan
function tan(x: number): number;
/**
* Get tangens of a soft float
*/
//% blockId=sfloat_tan_f block="[F] tangens of radians %x" shim=sfloat::tan_f
function tan_f(x: number): number;
/**
* Get square root of a soft float
*/
//% blockId=sfloat_sqrt block="[SF] sqrt of x %x" shim=sfloat::sqrt
function sqrt(x: number): number;
/**
* Get square root of a soft float
*/
//% blockId=sfloat_sqrt_f block="[F] sqrt of x %x" shim=sfloat::sqrt_f
function sqrt_f(x: number): number;
/**
* Get arcus sine of a soft float
*/
//% blockId=sfloat_asin block="[SF] arcsin of x %x" shim=sfloat::asin
function asin(x: number): number;
/**
* Get arcus sine of a soft float
*/
//% blockId=sfloat_asin_f block="[F] arcsin of x %x" shim=sfloat::asin_f
function asin_f(x: number): number;
/**
* Get arcus cosine of a soft float
*/
//% blockId=sfloat_acos block="[SF] arccos of x %x" shim=sfloat::acos
function acos(x: number): number;
/**
* Get arcus cosine of a soft float
*/
//% blockId=sfloat_acos_f block="[F] arccos of x %x" shim=sfloat::acos_f
function acos_f(x: number): number;
/**
* Get arcus tangens of a soft float
*/
//% blockId=sfloat_atan block="[SF] arctan of x %x" shim=sfloat::atan
function atan(x: number): number;
/**
* Get arcus tangens of a soft float
*/
//% blockId=sfloat_atan_f block="[F] arctan of x %x" shim=sfloat::atan_f
function atan_f(x: number): number;
/**
* Get arcus tangens 2 of two soft float
*/
//% blockId=sfloat_atan2 block="[SF] atan2 of y %y|and x %x" shim=sfloat::atan2
function atan2(y: number, x: number): number;
/**
* Get opposite of a soft float
*/
//% blockId=sfloat_neg block="[SF] opposite of x %x" shim=sfloat::neg
function neg(x: number): number;
}
// Auto-generated. Do not edit. Really.