Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/gpujs/gpu.js
/ divide
Function
divide
test/features/add-custom-native-function.js:78–80 ·
view source on GitHub ↗
(a,b)
Source
from the content-addressed store, hash-verified
76
});
77
78
function
divide(a,b) {
79
return
a / b;
80
}
81
82
const
kernel = gpu.createKernel(
function
(a, b) {
83
return
divide(a[this.thread.x], b[this.thread.x]);
Callers
5
nativeDivide
Function · 0.70
divideOverride
Function · 0.70
argumentCasting
Function · 0.70
mixedArgumentCasting
Function · 0.70
returnTypeCasting
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…