Mercurial > hg > svcore
comparison system/System.cpp @ 1826:a4dce53b3353
Avoid compiler warning
author | Chris Cannam |
---|---|
date | Fri, 06 Mar 2020 12:53:18 +0000 |
parents | 029d7d3f0a3a |
children | 00405d2cf0d1 |
comparison
equal
deleted
inserted
replaced
1825:029d7d3f0a3a | 1826:a4dce53b3353 |
---|---|
372 g = accent.G; | 372 g = accent.G; |
373 b = accent.B; | 373 b = accent.B; |
374 return true; | 374 return true; |
375 #endif | 375 #endif |
376 #endif | 376 #endif |
377 (void)r; | |
378 (void)g; | |
379 (void)b; | |
377 return false; | 380 return false; |
378 } | 381 } |
379 | 382 |
380 double mod(double x, double y) { return x - (y * floor(x / y)); } | 383 double mod(double x, double y) { return x - (y * floor(x / y)); } |
381 float modf(float x, float y) { return x - (y * floorf(x / y)); } | 384 float modf(float x, float y) { return x - (y * floorf(x / y)); } |