1#")]
14#")]
15#")]
16#")]
17#")]
18#")]
19#")]
20#")]
21#")]
22#")]
23#")]
24#")]
25#"
28)]
29#"
32)]
33#")]
34#")]
35#"
38)]
39#"
42)]
43#")]
44#")]
45#"
48)]
49#"
52)]
53#")]
54#")]
55#"
58)]
59#")]
60#")]
61#"
64)]
65#")]
66#")]
67#")]
68#")]
69#")]
70#")]
71#"
74)]
75#"
78)]
79#")]
80#")]
81#"
84)]
85#"
88)]
89#")]
90#")]
91#"
94)]
95#"
98)]
99#")]
100#")]
101#"
104)]
105#"
108)]
109#")]
110#")]
111#"
114)]
115#")]
116#")]
117#"
120)]
121#")]
122#"
125)]
126#")]
127#")]
128#")]
129#")]
130#")]
131#")]
132#")]
133#")]
134#")]
135#")]
136#")]
137#")]
138#")]
139#")]
140#")]
141#")]
142#")]
143#")]
144#")]
145#")]
146#")]
147#"
150)]
151#"
154)]
155#")]
156#")]
157#")]
158#")]
159#")]
160#")]
161#")]
162#")]
163#")]
164#")]
165#")]
166#")]
167#")]
168#")]
169#")]
170#")]
171#")]
172#")]
173#")]
174#")]
175#")]
176#")]
177#")]
178#")]
179#")]
180#")]
181#")]
182#")]
183#")]
184#")]
185#")]
186#")]
187#")]
188#")]
189#")]
190#")]
191#"
194)]
195#"
198)]
199#")]
200#")]
201#")]
202#")]
203#")]
204#")]
205#")]
206#")]
207#")]
208#")]
209#")]
210#")]
211#")]
212#")]
213#")]
214#")]
215#")]
216#")]
217#")]
218#")]
219#")]
220#")]
221#")]
222#")]
223#")]
224#")]
225#")]
226#")]
227#[cfg(feature = "format")]
318pub use crate::feature_format::*;
319pub use crate::format_builder::*;
320pub use crate::format_flags::*;
321#[cfg(not(feature = "format"))]
322pub use crate::not_feature_format::*;
323
324use crate::error::Error;
325use static_assertions::const_assert;
326
327#[inline]
329pub const fn format_is_valid<const FORMAT: u128>() -> bool {
330 NumberFormat::<FORMAT> {}.is_valid()
331}
332
333#[inline]
338pub const fn format_error<const FORMAT: u128>() -> Error {
339 NumberFormat::<FORMAT> {}.error()
340}
341
342pub const STANDARD: u128 = NumberFormatBuilder::new().build();
344const_assert!(NumberFormat::<{ STANDARD }> {}.is_valid());