This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via f798f6cda5796de80eb0fdf2eebf84ba596ded8b (commit)
from 9d93eadb528671d3f11fe84114aff0b5874754f5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f798f6cda5796de80eb0fdf2eebf84ba596ded8b
Author: Falco Girgis <gyr...@gm...>
Date: Tue Apr 30 07:32:52 2024 -0500
Minor Floating-Point Precision Fixes (#504)
* Minor floating point precision fixes.
vec3f.h
- explicitly truncated two double-precision fp constants to
single-precision floats
-----------------------------------------------------------------------
Summary of changes:
kernel/arch/dreamcast/include/dc/vec3f.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/arch/dreamcast/include/dc/vec3f.h b/kernel/arch/dreamcast/include/dc/vec3f.h
index a1f9c250..51706e00 100644
--- a/kernel/arch/dreamcast/include/dc/vec3f.h
+++ b/kernel/arch/dreamcast/include/dc/vec3f.h
@@ -33,8 +33,8 @@ typedef struct vec3f {
} vec3f_t;
/** \cond */
-#define R_DEG 182.04444443623349541909523793743
-#define R_RAD 10430.37835
+#define R_DEG 182.04444443623349541909523793743f
+#define R_RAD 10430.37835f
/* \endcond */
/** \brief Macro to return the scalar dot product of two 3d vectors.
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|