File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ Casting to an :code:`int` rounds to negative infinity; e.g. 5.67 becomes 5, and
4949
5050Create a fixed point number:
5151
52- ::
52+ .. code :: cpp
5353
5454 #include "MFixedPoint/FpS.hpp"
5555
@@ -61,7 +61,7 @@ Create a fixed point number:
6161
6262 Addition/Subtraction/Multiplication/Division:
6363
64- ::
64+ .. code :: cpp
6565
6666 FpS32 fp1(5.0, 8);
6767 FpS32 fp2(1.5, 8);
@@ -73,7 +73,7 @@ Addition/Subtraction/Multiplication/Division:
7373
7474 Modulus:
7575
76- ::
76+ .. code :: cpp
7777
7878 FpS32 fp1(5.1, 10);
7979 FpS32 fp2(1.5, 8);
@@ -82,7 +82,7 @@ Modulus:
8282
8383 Conversion/Casting:
8484
85- ::
85+ .. code :: cpp
8686
8787 FpS32 fp1(2.22, 8);
8888
@@ -140,7 +140,7 @@ Either use cmake with the provided :code:`CMakeLists.txt` in the root directory,
140140The cmake method will build the fixed point library and automatically runs all unit tests and the benchmark program.
141141
142142
143- ::
143+ .. code :: bash
144144
145145 ~ $ git clone https://github.com/mbedded-ninja/MFixedPoint.git
146146 ~ $ cd MFixedPoint
@@ -151,7 +151,7 @@ The cmake method will build the fixed point library and automatically runs all u
151151
152152 You can then the tests by calling:
153153
154- ::
154+ .. code :: bash
155155
156156 ~ /MFixedPoint/build$ ./test/MFixedPointTests
157157
@@ -160,7 +160,7 @@ Usage
160160
161161See the unit tests in :code: `test/ ` for more usage examples!
162162
163- ::
163+ .. code :: cpp
164164
165165 // Include the API header which provides access to all of the fixed-point
166166 // data types
You can’t perform that action at this time.
0 commit comments