File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,17 @@ to/from files, as well as performing common arithmetic operations. These
1313arithmetic operations are performed in roughly the same way arithmetic
1414is done on floating point numbers in the IEEE-754 standard, except that
1515everything is in decimal format.
16+
17+ To compile:
18+ Place dfloat.c and dfloat.h in the same directory as your project
19+ Create linkable object file: gcc -c dfloat.c
20+ #include "dfloat.h" in any C files that use libdfloat
21+ Make linkable object files from your own project files
22+ Run the following command: gcc -o project_name * .o
23+
24+ Be sure to credit me and include the Michael Warren FSL with any project
25+ that uses libdfloat. See the license for details.
26+
27+ I will be adding a Makefile in the future to automate this whole process,
28+ and hopefully I can find a way to make libdfloat into a shared object
29+ file on all major platforms.
You can’t perform that action at this time.
0 commit comments