Make improvements

This commit is contained in:
Justine Tunney committed 2020-12-01 03:43:40 -08:00
1 parent 3e4fd4b0ad
commit e44a0cf6f8
256 files changed
+23100 -2294

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
* @return (𝑥 mod 𝑦) ∈ [0.,𝑦)
* @see fmod()
*/
static double emod(double x, double y) {
static inline double emod(double x, double y) {
return x - fabs(y) * floor(x / fabs(y));
}
+1 -1
View File
@@ -9,7 +9,7 @@
* @return (𝑥 mod 𝑦) ∈ [0.,𝑦)
* @see fmodl()
*/
static long double emodl(long double x, long double y) {
static inline long double emodl(long double x, long double y) {
return x - fabsl(y) * floorl(x / fabsl(y));
}