History

add more missing functions (to run SunVox)

Sigrid Solveig Haflínudóttir committed 2 months ago

Commit 6d0ae021 parent 8fa8ef51 file · +38 −0Browse files

Unified · Split

mvec.c+38−0
@@ -22,6 +22,36 @@ _ZGVbN4v_expf(v4sf x) · 21 unmodified lines
22 return x;22 return x;
23}23}
24 24
25v4sf
26_ZGVbN4v_sinf(v4sf x)
27{
28 x[0] = sinf(x[0]);
29 x[1] = sinf(x[1]);
30 x[2] = sinf(x[2]);
31 x[3] = sinf(x[3]);
32 return x;
33}
34
35v4sf
36_ZGVbN4v_cosf(v4sf x)
37{
38 x[0] = cosf(x[0]);
39 x[1] = cosf(x[1]);
40 x[2] = cosf(x[2]);
41 x[3] = cosf(x[3]);
42 return x;
43}
44
45v4sf
46_ZGVbN4v_log10f(v4sf x)
47{
48 x[0] = log10f(x[0]);
49 x[1] = log10f(x[1]);
50 x[2] = log10f(x[2]);
51 x[3] = log10f(x[3]);
52 return x;
53}
54
25v2df55v2df
26_ZGVbN2v_log(v2df x)56_ZGVbN2v_log(v2df x)
27{57{
@@ -40,6 +70,14 @@ _ZGVbN4v_logf(v4sf x) · 12 unmodified lines
40 return x;70 return x;
41}71}
42 72
73v2df
74_ZGVbN2v_cos(v2df x)
75{
76 x[0] = cos(x[0]);
77 x[1] = cos(x[1]);
78 return x;
79}
80
43v2df81v2df
44_ZGVbN2v_sin(v2df x)82_ZGVbN2v_sin(v2df x)
45{83{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t