some progress on dos vesa, but not quite
This commit is contained in:
1 parent
55ac075e4d
commit
4998fafef9
11 files changed
+342
-180
No files matched your search
+6
-3
@@ -3,6 +3,8 @@
|
||||
even memory mnagement.
|
||||
*/
|
||||
|
||||
/* TODO: Split into io.h and math.h */
|
||||
|
||||
#ifndef COM_STD_H
|
||||
#define COM_STD_H
|
||||
|
||||
@@ -69,6 +71,9 @@ void com_std_print_(int32_t start, ...);
|
||||
#define com_std_print(...) com_std_print_(__VA_ARGS__, '.')
|
||||
void com_std_print_str(char const *str, uint32_t len, bool newline);
|
||||
|
||||
/* Note: Functions listed below are only available for dev builds. */
|
||||
/* Trigonometry functions are for reference testing of our own fixed point
|
||||
* implementations. Do not use otherwise. */
|
||||
#define COM_STD_PIF ((float)3.14159265358979323846)
|
||||
|
||||
double com_std_sqrt(double v);
|
||||
@@ -76,9 +81,7 @@ double com_std_fabs(double v);
|
||||
double com_std_sin(double v);
|
||||
double com_std_cos(double v);
|
||||
|
||||
/* Note: Functions listed below are only available for dev builds. */
|
||||
/* Trigonometry functions are for reference testing of our own fixed point
|
||||
* implementations. Do not use otherwise. */
|
||||
/* TODO: Move to def.h? or just asrt.h? */
|
||||
#define com_std_assert(p_h) \
|
||||
do { \
|
||||
if (!(p_h)) { \
|
||||
|
||||
Reference in new issue
Block a user