Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ sin
Method
sin
src/cpu/vec.h:91–93 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
89
}
90
91
static inline value_type sin(value_type a) {
92
return std::sin(a);
93
}
94
95
static inline value_type cos(value_type a) {
96
return std::cos(a);
Callers
1
_make_sinusoidal_position_encodings
Function · 0.45
Calls
1
sin
Function · 0.85
Tested by
no test coverage detected