MCPcopy Index your code
hub / github.com/gpujs/gpu.js / add

Function add

test/internal/casting.js:123–125  ·  view source on GitHub ↗
(value1, value2)

Source from the content-addressed store, hash-verified

121function handleCastingFloat(mode) {
122 const gpu = new GPU({ mode });
123 function add(value1, value2) {
124 return value1 + value2;
125 }
126 gpu.addFunction(add, {
127 argumentTypes: ['Float', 'Float'],
128 returnType: 'Float'

Calls

no outgoing calls

Tested by

no test coverage detected