Skip to content

Commit dd4805d

Browse files
committed
Cosmetics: Remove indent
1 parent 1c31894 commit dd4805d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Modelica/Math/nearestInteger.mo

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Math.<strong>nearestInteger</strong>(r);
1717
1818
<h4>Description</h4>
1919
<p>
20-
The input value \"r\" of type Real is converted to the closest Integer value \"i\",
21-
using the <em>round half away from zero</em> rule with the equation:
20+
The input value \"r\" of type Real is converted to the closest Integer value \"i\",
21+
using the <em>round half away from zero</em> rule with the equation:
2222
</p>
2323
<blockquote><pre>
2424
i = <strong>integer</strong>( <strong>floor</strong>( r + 0.5 ) ) for r &gt; 0;
@@ -39,12 +39,12 @@ Math.nearestInteger(1.39999999999999999+0.1); // = 1 (erroneous border case, see
3939
<h4>Note</h4>
4040
4141
<p>
42-
This function does the same conversion as the block
43-
<a href=\"modelica://Modelica.Blocks.Math.RealToInteger\">RealToInteger</a>.
42+
This function does the same conversion as the block
43+
<a href=\"modelica://Modelica.Blocks.Math.RealToInteger\">RealToInteger</a>.
4444
</p>
4545
<p>
46-
The underlying equation is simple, but not always correct. Due to floating point arithmetic some border cases
47-
are not converted correct, like shown in the example above.
46+
The underlying equation is simple, but not always correct. Due to floating point arithmetic some border cases
47+
are not converted correct, like shown in the example above.
4848
</p>
4949
</html>"));
5050
end nearestInteger;

0 commit comments

Comments
 (0)