unit_conversions/
data_transfer_rate.rs

1// <auto-generated>
2// This code was generated by the UnitCodeGenerator tool
3//
4// Changes to this file will be lost if the code is regenerated
5// </auto-generated>
6
7//! # Data Transfer Rate based converters
8
9/// Bits Per Second conversion functions
10pub mod bits_per_second {
11	/// Converts the supplied Bits Per Second value to KiloBits Per Second
12	/// # Arguments
13	/// * `value` - The Bits Per Second input value
14	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
15		return value / 1000.0;
16	}
17	/// Converts the supplied Bits Per Second value to MegaBits Per Second
18	/// # Arguments
19	/// * `value` - The Bits Per Second input value
20	pub fn to_mega_bits_per_second(value: f64) -> f64 {
21		return value / 1e+6;
22	}
23	/// Converts the supplied Bits Per Second value to GigaBits Per Second
24	/// # Arguments
25	/// * `value` - The Bits Per Second input value
26	pub fn to_giga_bits_per_second(value: f64) -> f64 {
27		return value / 1e+9;
28	}
29	/// Converts the supplied Bits Per Second value to TeraBits Per Second
30	/// # Arguments
31	/// * `value` - The Bits Per Second input value
32	pub fn to_tera_bits_per_second(value: f64) -> f64 {
33		return value / 1e+12;
34	}
35	/// Converts the supplied Bits Per Second value to KiloBytes Per Second
36	/// # Arguments
37	/// * `value` - The Bits Per Second input value
38	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
39		return value / 8000.0;
40	}
41	/// Converts the supplied Bits Per Second value to MegaBytes Per Second
42	/// # Arguments
43	/// * `value` - The Bits Per Second input value
44	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
45		return value / 8e+6;
46	}
47	/// Converts the supplied Bits Per Second value to GigaBytes Per Second
48	/// # Arguments
49	/// * `value` - The Bits Per Second input value
50	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
51		return value / 8e+9;
52	}
53	/// Converts the supplied Bits Per Second value to TeraBytes Per Second
54	/// # Arguments
55	/// * `value` - The Bits Per Second input value
56	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
57		return value / 8e+12;
58	}
59	/// Converts the supplied Bits Per Second value to Kibibits Per Second
60	/// # Arguments
61	/// * `value` - The Bits Per Second input value
62	pub fn to_kibibits_per_second(value: f64) -> f64 {
63		return value / 1024.0;
64	}
65	/// Converts the supplied Bits Per Second value to Mebibits Per Second
66	/// # Arguments
67	/// * `value` - The Bits Per Second input value
68	pub fn to_mebibits_per_second(value: f64) -> f64 {
69		return value / 1048576.0;
70	}
71}
72/// GigaBits Per Second conversion functions
73pub mod giga_bits_per_second {
74	/// Converts the supplied GigaBits Per Second value to Bits Per Second
75	/// # Arguments
76	/// * `value` - The GigaBits Per Second input value
77	pub fn to_bits_per_second(value: f64) -> f64 {
78		return value * 1e+9;
79	}
80	/// Converts the supplied GigaBits Per Second value to KiloBits Per Second
81	/// # Arguments
82	/// * `value` - The GigaBits Per Second input value
83	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
84		return value * 1e+6;
85	}
86	/// Converts the supplied GigaBits Per Second value to MegaBits Per Second
87	/// # Arguments
88	/// * `value` - The GigaBits Per Second input value
89	pub fn to_mega_bits_per_second(value: f64) -> f64 {
90		return value * 1000.0;
91	}
92	/// Converts the supplied GigaBits Per Second value to TeraBits Per Second
93	/// # Arguments
94	/// * `value` - The GigaBits Per Second input value
95	pub fn to_tera_bits_per_second(value: f64) -> f64 {
96		return value / 1000.0;
97	}
98	/// Converts the supplied GigaBits Per Second value to KiloBytes Per Second
99	/// # Arguments
100	/// * `value` - The GigaBits Per Second input value
101	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
102		return value * 125000.0;
103	}
104	/// Converts the supplied GigaBits Per Second value to MegaBytes Per Second
105	/// # Arguments
106	/// * `value` - The GigaBits Per Second input value
107	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
108		return value * 125.0;
109	}
110	/// Converts the supplied GigaBits Per Second value to GigaBytes Per Second
111	/// # Arguments
112	/// * `value` - The GigaBits Per Second input value
113	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
114		return value / 8.0;
115	}
116	/// Converts the supplied GigaBits Per Second value to TeraBytes Per Second
117	/// # Arguments
118	/// * `value` - The GigaBits Per Second input value
119	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
120		return value / 8000.0;
121	}
122	/// Converts the supplied GigaBits Per Second value to Kibibits Per Second
123	/// # Arguments
124	/// * `value` - The GigaBits Per Second input value
125	pub fn to_kibibits_per_second(value: f64) -> f64 {
126		return value * 976562.5;
127	}
128	/// Converts the supplied GigaBits Per Second value to Mebibits Per Second
129	/// # Arguments
130	/// * `value` - The GigaBits Per Second input value
131	pub fn to_mebibits_per_second(value: f64) -> f64 {
132		return value * 953.67431640625;
133	}
134}
135/// GigaBytes Per Second conversion functions
136pub mod giga_bytes_per_second {
137	/// Converts the supplied GigaBytes Per Second value to Bits Per Second
138	/// # Arguments
139	/// * `value` - The GigaBytes Per Second input value
140	pub fn to_bits_per_second(value: f64) -> f64 {
141		return value * 8e+9;
142	}
143	/// Converts the supplied GigaBytes Per Second value to KiloBits Per Second
144	/// # Arguments
145	/// * `value` - The GigaBytes Per Second input value
146	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
147		return value * 8e+6;
148	}
149	/// Converts the supplied GigaBytes Per Second value to MegaBits Per Second
150	/// # Arguments
151	/// * `value` - The GigaBytes Per Second input value
152	pub fn to_mega_bits_per_second(value: f64) -> f64 {
153		return value * 8000.0;
154	}
155	/// Converts the supplied GigaBytes Per Second value to GigaBits Per Second
156	/// # Arguments
157	/// * `value` - The GigaBytes Per Second input value
158	pub fn to_giga_bits_per_second(value: f64) -> f64 {
159		return value * 8.0;
160	}
161	/// Converts the supplied GigaBytes Per Second value to TeraBits Per Second
162	/// # Arguments
163	/// * `value` - The GigaBytes Per Second input value
164	pub fn to_tera_bits_per_second(value: f64) -> f64 {
165		return value / 125.0;
166	}
167	/// Converts the supplied GigaBytes Per Second value to KiloBytes Per Second
168	/// # Arguments
169	/// * `value` - The GigaBytes Per Second input value
170	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
171		return value * 1e+6;
172	}
173	/// Converts the supplied GigaBytes Per Second value to MegaBytes Per Second
174	/// # Arguments
175	/// * `value` - The GigaBytes Per Second input value
176	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
177		return value * 1000.0;
178	}
179	/// Converts the supplied GigaBytes Per Second value to TeraBytes Per Second
180	/// # Arguments
181	/// * `value` - The GigaBytes Per Second input value
182	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
183		return value / 1000.0;
184	}
185	/// Converts the supplied GigaBytes Per Second value to Kibibits Per Second
186	/// # Arguments
187	/// * `value` - The GigaBytes Per Second input value
188	pub fn to_kibibits_per_second(value: f64) -> f64 {
189		return value * 7812500.0;
190	}
191	/// Converts the supplied GigaBytes Per Second value to Mebibits Per Second
192	/// # Arguments
193	/// * `value` - The GigaBytes Per Second input value
194	pub fn to_mebibits_per_second(value: f64) -> f64 {
195		return value * 7629.39;
196	}
197}
198/// Kibibits Per Second conversion functions
199pub mod kibibits_per_second {
200	/// Converts the supplied Kibibits Per Second value to Bits Per Second
201	/// # Arguments
202	/// * `value` - The Kibibits Per Second input value
203	pub fn to_bits_per_second(value: f64) -> f64 {
204		return value * 1024.0;
205	}
206	/// Converts the supplied Kibibits Per Second value to KiloBits Per Second
207	/// # Arguments
208	/// * `value` - The Kibibits Per Second input value
209	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
210		return value * 1.024;
211	}
212	/// Converts the supplied Kibibits Per Second value to MegaBits Per Second
213	/// # Arguments
214	/// * `value` - The Kibibits Per Second input value
215	pub fn to_mega_bits_per_second(value: f64) -> f64 {
216		return value / 976.563;
217	}
218	/// Converts the supplied Kibibits Per Second value to GigaBits Per Second
219	/// # Arguments
220	/// * `value` - The Kibibits Per Second input value
221	pub fn to_giga_bits_per_second(value: f64) -> f64 {
222		return value / 976562.5;
223	}
224	/// Converts the supplied Kibibits Per Second value to TeraBits Per Second
225	/// # Arguments
226	/// * `value` - The Kibibits Per Second input value
227	pub fn to_tera_bits_per_second(value: f64) -> f64 {
228		return value / 976562500.0;
229	}
230	/// Converts the supplied Kibibits Per Second value to KiloBytes Per Second
231	/// # Arguments
232	/// * `value` - The Kibibits Per Second input value
233	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
234		return value / 7.8125;
235	}
236	/// Converts the supplied Kibibits Per Second value to MegaBytes Per Second
237	/// # Arguments
238	/// * `value` - The Kibibits Per Second input value
239	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
240		return value / 7812.5;
241	}
242	/// Converts the supplied Kibibits Per Second value to GigaBytes Per Second
243	/// # Arguments
244	/// * `value` - The Kibibits Per Second input value
245	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
246		return value / 7812500.0;
247	}
248	/// Converts the supplied Kibibits Per Second value to TeraBytes Per Second
249	/// # Arguments
250	/// * `value` - The Kibibits Per Second input value
251	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
252		return value / 7812500000.0;
253	}
254	/// Converts the supplied Kibibits Per Second value to Mebibits Per Second
255	/// # Arguments
256	/// * `value` - The Kibibits Per Second input value
257	pub fn to_mebibits_per_second(value: f64) -> f64 {
258		return value / 1024.0;
259	}
260}
261/// KiloBits Per Second conversion functions
262pub mod kilo_bits_per_second {
263	/// Converts the supplied KiloBits Per Second value to Bits Per Second
264	/// # Arguments
265	/// * `value` - The KiloBits Per Second input value
266	pub fn to_bits_per_second(value: f64) -> f64 {
267		return value * 1000.0;
268	}
269	/// Converts the supplied KiloBits Per Second value to MegaBits Per Second
270	/// # Arguments
271	/// * `value` - The KiloBits Per Second input value
272	pub fn to_mega_bits_per_second(value: f64) -> f64 {
273		return value / 1000.0;
274	}
275	/// Converts the supplied KiloBits Per Second value to GigaBits Per Second
276	/// # Arguments
277	/// * `value` - The KiloBits Per Second input value
278	pub fn to_giga_bits_per_second(value: f64) -> f64 {
279		return value / 1e+6;
280	}
281	/// Converts the supplied KiloBits Per Second value to TeraBits Per Second
282	/// # Arguments
283	/// * `value` - The KiloBits Per Second input value
284	pub fn to_tera_bits_per_second(value: f64) -> f64 {
285		return value / 1e+9;
286	}
287	/// Converts the supplied KiloBits Per Second value to KiloBytes Per Second
288	/// # Arguments
289	/// * `value` - The KiloBits Per Second input value
290	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
291		return value / 8.0;
292	}
293	/// Converts the supplied KiloBits Per Second value to MegaBytes Per Second
294	/// # Arguments
295	/// * `value` - The KiloBits Per Second input value
296	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
297		return value / 8000.0;
298	}
299	/// Converts the supplied KiloBits Per Second value to GigaBytes Per Second
300	/// # Arguments
301	/// * `value` - The KiloBits Per Second input value
302	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
303		return value / 8e+6;
304	}
305	/// Converts the supplied KiloBits Per Second value to TeraBytes Per Second
306	/// # Arguments
307	/// * `value` - The KiloBits Per Second input value
308	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
309		return value / 8e+9;
310	}
311	/// Converts the supplied KiloBits Per Second value to Kibibits Per Second
312	/// # Arguments
313	/// * `value` - The KiloBits Per Second input value
314	pub fn to_kibibits_per_second(value: f64) -> f64 {
315		return value / 1.024;
316	}
317	/// Converts the supplied KiloBits Per Second value to Mebibits Per Second
318	/// # Arguments
319	/// * `value` - The KiloBits Per Second input value
320	pub fn to_mebibits_per_second(value: f64) -> f64 {
321		return value / 1048.58;
322	}
323}
324/// KiloBytes Per Second conversion functions
325pub mod kilo_bytes_per_second {
326	/// Converts the supplied KiloBytes Per Second value to Bits Per Second
327	/// # Arguments
328	/// * `value` - The KiloBytes Per Second input value
329	pub fn to_bits_per_second(value: f64) -> f64 {
330		return value * 8000.0;
331	}
332	/// Converts the supplied KiloBytes Per Second value to KiloBits Per Second
333	/// # Arguments
334	/// * `value` - The KiloBytes Per Second input value
335	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
336		return value * 8.0;
337	}
338	/// Converts the supplied KiloBytes Per Second value to MegaBits Per Second
339	/// # Arguments
340	/// * `value` - The KiloBytes Per Second input value
341	pub fn to_mega_bits_per_second(value: f64) -> f64 {
342		return value / 125.0;
343	}
344	/// Converts the supplied KiloBytes Per Second value to GigaBits Per Second
345	/// # Arguments
346	/// * `value` - The KiloBytes Per Second input value
347	pub fn to_giga_bits_per_second(value: f64) -> f64 {
348		return value / 125000.0;
349	}
350	/// Converts the supplied KiloBytes Per Second value to TeraBits Per Second
351	/// # Arguments
352	/// * `value` - The KiloBytes Per Second input value
353	pub fn to_tera_bits_per_second(value: f64) -> f64 {
354		return value / 1.25e+8;
355	}
356	/// Converts the supplied KiloBytes Per Second value to MegaBytes Per Second
357	/// # Arguments
358	/// * `value` - The KiloBytes Per Second input value
359	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
360		return value / 1000.0;
361	}
362	/// Converts the supplied KiloBytes Per Second value to GigaBytes Per Second
363	/// # Arguments
364	/// * `value` - The KiloBytes Per Second input value
365	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
366		return value / 1e+6;
367	}
368	/// Converts the supplied KiloBytes Per Second value to TeraBytes Per Second
369	/// # Arguments
370	/// * `value` - The KiloBytes Per Second input value
371	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
372		return value / 1e+9;
373	}
374	/// Converts the supplied KiloBytes Per Second value to Kibibits Per Second
375	/// # Arguments
376	/// * `value` - The KiloBytes Per Second input value
377	pub fn to_kibibits_per_second(value: f64) -> f64 {
378		return value * 7.8125;
379	}
380	/// Converts the supplied KiloBytes Per Second value to Mebibits Per Second
381	/// # Arguments
382	/// * `value` - The KiloBytes Per Second input value
383	pub fn to_mebibits_per_second(value: f64) -> f64 {
384		return value * 0.00762939;
385	}
386}
387/// Mebibits Per Second conversion functions
388pub mod mebibits_per_second {
389	/// Converts the supplied Mebibits Per Second value to Bits Per Second
390	/// # Arguments
391	/// * `value` - The Mebibits Per Second input value
392	pub fn to_bits_per_second(value: f64) -> f64 {
393		return value * 1048576.0;
394	}
395	/// Converts the supplied Mebibits Per Second value to KiloBits Per Second
396	/// # Arguments
397	/// * `value` - The Mebibits Per Second input value
398	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
399		return value * 1048.58;
400	}
401	/// Converts the supplied Mebibits Per Second value to MegaBits Per Second
402	/// # Arguments
403	/// * `value` - The Mebibits Per Second input value
404	pub fn to_mega_bits_per_second(value: f64) -> f64 {
405		return value * 1.04858;
406	}
407	/// Converts the supplied Mebibits Per Second value to GigaBits Per Second
408	/// # Arguments
409	/// * `value` - The Mebibits Per Second input value
410	pub fn to_giga_bits_per_second(value: f64) -> f64 {
411		return value / 953.67431640625;
412	}
413	/// Converts the supplied Mebibits Per Second value to TeraBits Per Second
414	/// # Arguments
415	/// * `value` - The Mebibits Per Second input value
416	pub fn to_tera_bits_per_second(value: f64) -> f64 {
417		return value / 953674.0;
418	}
419	/// Converts the supplied Mebibits Per Second value to KiloBytes Per Second
420	/// # Arguments
421	/// * `value` - The Mebibits Per Second input value
422	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
423		return value / 0.00762939;
424	}
425	/// Converts the supplied Mebibits Per Second value to MegaBytes Per Second
426	/// # Arguments
427	/// * `value` - The Mebibits Per Second input value
428	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
429		return value / 7.62939;
430	}
431	/// Converts the supplied Mebibits Per Second value to GigaBytes Per Second
432	/// # Arguments
433	/// * `value` - The Mebibits Per Second input value
434	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
435		return value / 7629.39;
436	}
437	/// Converts the supplied Mebibits Per Second value to TeraBytes Per Second
438	/// # Arguments
439	/// * `value` - The Mebibits Per Second input value
440	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
441		return value * 0.000000131072;
442	}
443	/// Converts the supplied Mebibits Per Second value to Kibibits Per Second
444	/// # Arguments
445	/// * `value` - The Mebibits Per Second input value
446	pub fn to_kibibits_per_second(value: f64) -> f64 {
447		return value * 1024.0;
448	}
449}
450/// MegaBits Per Second conversion functions
451pub mod mega_bits_per_second {
452	/// Converts the supplied MegaBits Per Second value to Bits Per Second
453	/// # Arguments
454	/// * `value` - The MegaBits Per Second input value
455	pub fn to_bits_per_second(value: f64) -> f64 {
456		return value * 1e+6;
457	}
458	/// Converts the supplied MegaBits Per Second value to KiloBits Per Second
459	/// # Arguments
460	/// * `value` - The MegaBits Per Second input value
461	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
462		return value * 1000.0;
463	}
464	/// Converts the supplied MegaBits Per Second value to GigaBits Per Second
465	/// # Arguments
466	/// * `value` - The MegaBits Per Second input value
467	pub fn to_giga_bits_per_second(value: f64) -> f64 {
468		return value / 1000.0;
469	}
470	/// Converts the supplied MegaBits Per Second value to TeraBits Per Second
471	/// # Arguments
472	/// * `value` - The MegaBits Per Second input value
473	pub fn to_tera_bits_per_second(value: f64) -> f64 {
474		return value / 1e+6;
475	}
476	/// Converts the supplied MegaBits Per Second value to KiloBytes Per Second
477	/// # Arguments
478	/// * `value` - The MegaBits Per Second input value
479	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
480		return value * 125.0;
481	}
482	/// Converts the supplied MegaBits Per Second value to MegaBytes Per Second
483	/// # Arguments
484	/// * `value` - The MegaBits Per Second input value
485	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
486		return value / 8.0;
487	}
488	/// Converts the supplied MegaBits Per Second value to GigaBytes Per Second
489	/// # Arguments
490	/// * `value` - The MegaBits Per Second input value
491	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
492		return value / 8000.0;
493	}
494	/// Converts the supplied MegaBits Per Second value to TeraBytes Per Second
495	/// # Arguments
496	/// * `value` - The MegaBits Per Second input value
497	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
498		return value / 8e+6;
499	}
500	/// Converts the supplied MegaBits Per Second value to Kibibits Per Second
501	/// # Arguments
502	/// * `value` - The MegaBits Per Second input value
503	pub fn to_kibibits_per_second(value: f64) -> f64 {
504		return value * 976.563;
505	}
506	/// Converts the supplied MegaBits Per Second value to Mebibits Per Second
507	/// # Arguments
508	/// * `value` - The MegaBits Per Second input value
509	pub fn to_mebibits_per_second(value: f64) -> f64 {
510		return value / 1.04858;
511	}
512}
513/// MegaBytes Per Second conversion functions
514pub mod mega_bytes_per_second {
515	/// Converts the supplied MegaBytes Per Second value to Bits Per Second
516	/// # Arguments
517	/// * `value` - The MegaBytes Per Second input value
518	pub fn to_bits_per_second(value: f64) -> f64 {
519		return value * 8e+6;
520	}
521	/// Converts the supplied MegaBytes Per Second value to KiloBits Per Second
522	/// # Arguments
523	/// * `value` - The MegaBytes Per Second input value
524	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
525		return value * 8000.0;
526	}
527	/// Converts the supplied MegaBytes Per Second value to MegaBits Per Second
528	/// # Arguments
529	/// * `value` - The MegaBytes Per Second input value
530	pub fn to_mega_bits_per_second(value: f64) -> f64 {
531		return value * 8.0;
532	}
533	/// Converts the supplied MegaBytes Per Second value to GigaBits Per Second
534	/// # Arguments
535	/// * `value` - The MegaBytes Per Second input value
536	pub fn to_giga_bits_per_second(value: f64) -> f64 {
537		return value / 125.0;
538	}
539	/// Converts the supplied MegaBytes Per Second value to TeraBits Per Second
540	/// # Arguments
541	/// * `value` - The MegaBytes Per Second input value
542	pub fn to_tera_bits_per_second(value: f64) -> f64 {
543		return value / 125000.0;
544	}
545	/// Converts the supplied MegaBytes Per Second value to KiloBytes Per Second
546	/// # Arguments
547	/// * `value` - The MegaBytes Per Second input value
548	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
549		return value * 1000.0;
550	}
551	/// Converts the supplied MegaBytes Per Second value to GigaBytes Per Second
552	/// # Arguments
553	/// * `value` - The MegaBytes Per Second input value
554	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
555		return value / 1000.0;
556	}
557	/// Converts the supplied MegaBytes Per Second value to TeraBytes Per Second
558	/// # Arguments
559	/// * `value` - The MegaBytes Per Second input value
560	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
561		return value / 1e+6;
562	}
563	/// Converts the supplied MegaBytes Per Second value to Kibibits Per Second
564	/// # Arguments
565	/// * `value` - The MegaBytes Per Second input value
566	pub fn to_kibibits_per_second(value: f64) -> f64 {
567		return value * 7812.5;
568	}
569	/// Converts the supplied MegaBytes Per Second value to Mebibits Per Second
570	/// # Arguments
571	/// * `value` - The MegaBytes Per Second input value
572	pub fn to_mebibits_per_second(value: f64) -> f64 {
573		return value * 7.62939;
574	}
575}
576/// TeraBits Per Second conversion functions
577pub mod tera_bits_per_second {
578	/// Converts the supplied TeraBits Per Second value to Bits Per Second
579	/// # Arguments
580	/// * `value` - The TeraBits Per Second input value
581	pub fn to_bits_per_second(value: f64) -> f64 {
582		return value * 1e+12;
583	}
584	/// Converts the supplied TeraBits Per Second value to KiloBits Per Second
585	/// # Arguments
586	/// * `value` - The TeraBits Per Second input value
587	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
588		return value * 1e+9;
589	}
590	/// Converts the supplied TeraBits Per Second value to MegaBits Per Second
591	/// # Arguments
592	/// * `value` - The TeraBits Per Second input value
593	pub fn to_mega_bits_per_second(value: f64) -> f64 {
594		return value * 1e+6;
595	}
596	/// Converts the supplied TeraBits Per Second value to GigaBits Per Second
597	/// # Arguments
598	/// * `value` - The TeraBits Per Second input value
599	pub fn to_giga_bits_per_second(value: f64) -> f64 {
600		return value * 1000.0;
601	}
602	/// Converts the supplied TeraBits Per Second value to KiloBytes Per Second
603	/// # Arguments
604	/// * `value` - The TeraBits Per Second input value
605	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
606		return value * 1.25e+8;
607	}
608	/// Converts the supplied TeraBits Per Second value to MegaBytes Per Second
609	/// # Arguments
610	/// * `value` - The TeraBits Per Second input value
611	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
612		return value * 125000.0;
613	}
614	/// Converts the supplied TeraBits Per Second value to GigaBytes Per Second
615	/// # Arguments
616	/// * `value` - The TeraBits Per Second input value
617	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
618		return value * 125.0;
619	}
620	/// Converts the supplied TeraBits Per Second value to TeraBytes Per Second
621	/// # Arguments
622	/// * `value` - The TeraBits Per Second input value
623	pub fn to_tera_bytes_per_second(value: f64) -> f64 {
624		return value / 8.0;
625	}
626	/// Converts the supplied TeraBits Per Second value to Kibibits Per Second
627	/// # Arguments
628	/// * `value` - The TeraBits Per Second input value
629	pub fn to_kibibits_per_second(value: f64) -> f64 {
630		return value * 976562500.0;
631	}
632	/// Converts the supplied TeraBits Per Second value to Mebibits Per Second
633	/// # Arguments
634	/// * `value` - The TeraBits Per Second input value
635	pub fn to_mebibits_per_second(value: f64) -> f64 {
636		return value * 953674.0;
637	}
638}
639/// TeraBytes Per Second conversion functions
640pub mod tera_bytes_per_second {
641	/// Converts the supplied TeraBytes Per Second value to Bits Per Second
642	/// # Arguments
643	/// * `value` - The TeraBytes Per Second input value
644	pub fn to_bits_per_second(value: f64) -> f64 {
645		return value * 8e+12;
646	}
647	/// Converts the supplied TeraBytes Per Second value to KiloBits Per Second
648	/// # Arguments
649	/// * `value` - The TeraBytes Per Second input value
650	pub fn to_kilo_bits_per_second(value: f64) -> f64 {
651		return value * 8e+9;
652	}
653	/// Converts the supplied TeraBytes Per Second value to MegaBits Per Second
654	/// # Arguments
655	/// * `value` - The TeraBytes Per Second input value
656	pub fn to_mega_bits_per_second(value: f64) -> f64 {
657		return value * 8e+6;
658	}
659	/// Converts the supplied TeraBytes Per Second value to GigaBits Per Second
660	/// # Arguments
661	/// * `value` - The TeraBytes Per Second input value
662	pub fn to_giga_bits_per_second(value: f64) -> f64 {
663		return value * 8000.0;
664	}
665	/// Converts the supplied TeraBytes Per Second value to TeraBits Per Second
666	/// # Arguments
667	/// * `value` - The TeraBytes Per Second input value
668	pub fn to_tera_bits_per_second(value: f64) -> f64 {
669		return value * 8.0;
670	}
671	/// Converts the supplied TeraBytes Per Second value to KiloBytes Per Second
672	/// # Arguments
673	/// * `value` - The TeraBytes Per Second input value
674	pub fn to_kilo_bytes_per_second(value: f64) -> f64 {
675		return value * 1e+9;
676	}
677	/// Converts the supplied TeraBytes Per Second value to MegaBytes Per Second
678	/// # Arguments
679	/// * `value` - The TeraBytes Per Second input value
680	pub fn to_mega_bytes_per_second(value: f64) -> f64 {
681		return value * 1e+6;
682	}
683	/// Converts the supplied TeraBytes Per Second value to GigaBytes Per Second
684	/// # Arguments
685	/// * `value` - The TeraBytes Per Second input value
686	pub fn to_giga_bytes_per_second(value: f64) -> f64 {
687		return value * 1000.0;
688	}
689	/// Converts the supplied TeraBytes Per Second value to Kibibits Per Second
690	/// # Arguments
691	/// * `value` - The TeraBytes Per Second input value
692	pub fn to_kibibits_per_second(value: f64) -> f64 {
693		return value * 7812500000.0;
694	}
695	/// Converts the supplied TeraBytes Per Second value to Mebibits Per Second
696	/// # Arguments
697	/// * `value` - The TeraBytes Per Second input value
698	pub fn to_mebibits_per_second(value: f64) -> f64 {
699		return value / 0.000000131072;
700	}
701}