This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Add default arguments to simd::clamp().
tags/v2.0.0
Andrew Belt
3 years ago
parent
42b5861d13
commit
2e34cdf497
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
include/simd/functions.hpp
+ 1
- 1
include/simd/functions.hpp
View File
@@ -250,7 +250,7 @@ T pow(T a, int b) {
using math::clamp;
inline float_4 clamp(float_4 x, float_4 a, float_4 b) {
inline float_4 clamp(float_4 x, float_4 a
= 0.f
, float_4 b
= 1.f
) {
return fmin(fmax(x, a), b);
}
Write
Preview
Loading…
Cancel
Save