Mercurial > hg > svcore
comparison system/System.cpp @ 1206:659372323b45 tony-2.0-integration
Merge latest SV 3.0 branch code
author | Chris Cannam |
---|---|
date | Fri, 19 Aug 2016 15:58:57 +0100 |
parents | e5a1d815f331 |
children | 6b847a59d908 |
comparison
equal
deleted
inserted
replaced
1136:e94719f941ba | 1206:659372323b45 |
---|---|
323 float modf(float x, float y) { return x - (y * floorf(x / y)); } | 323 float modf(float x, float y) { return x - (y * floorf(x / y)); } |
324 | 324 |
325 double princarg(double a) { return mod(a + M_PI, -2 * M_PI) + M_PI; } | 325 double princarg(double a) { return mod(a + M_PI, -2 * M_PI) + M_PI; } |
326 float princargf(float a) { return float(princarg(a)); } | 326 float princargf(float a) { return float(princarg(a)); } |
327 | 327 |
328 |