|
26 | 26 | //! Comments have been preserved where possible, only slightly adapted.
|
27 | 27 | //!
|
28 | 28 | //! Instead of keeping a pointer to a configuration struct and inspecting it
|
29 |
| -//! dynamically on every operation, types (e.g. `ieee::Double`), traits |
30 |
| -//! (e.g. `ieee::Semantics`) and associated constants are employed for |
| 29 | +//! dynamically on every operation, types (e.g., `ieee::Double`), traits |
| 30 | +//! (e.g., `ieee::Semantics`) and associated constants are employed for |
31 | 31 | //! increased type safety and performance.
|
32 | 32 | //!
|
33 | 33 | //! On-heap bigints are replaced everywhere (except in decimal conversion),
|
@@ -179,7 +179,7 @@ pub struct ParseError(pub &'static str);
|
179 | 179 | /// implemented operations. Currently implemented operations are add, subtract,
|
180 | 180 | /// multiply, divide, fused-multiply-add, conversion-to-float,
|
181 | 181 | /// conversion-to-integer and conversion-from-integer. New rounding modes
|
182 |
| -/// (e.g. away from zero) can be added with three or four lines of code. |
| 182 | +/// (e.g., away from zero) can be added with three or four lines of code. |
183 | 183 | ///
|
184 | 184 | /// Four formats are built-in: IEEE single precision, double precision,
|
185 | 185 | /// quadruple precision, and x87 80-bit extended double (when operating with
|
@@ -589,7 +589,7 @@ pub trait Float
|
589 | 589 | pub trait FloatConvert<T: Float>: Float {
|
590 | 590 | /// Convert a value of one floating point type to another.
|
591 | 591 | /// The return value corresponds to the IEEE754 exceptions. *loses_info
|
592 |
| - /// records whether the transformation lost information, i.e. whether |
| 592 | + /// records whether the transformation lost information, i.e., whether |
593 | 593 | /// converting the result back to the original type will produce the
|
594 | 594 | /// original value (this is almost the same as return value==Status::OK,
|
595 | 595 | /// but there are edge cases where this is not so).
|
|
0 commit comments