MCPcopy Create free account
hub / github.com/microsoft/SandDance / transformSquare

Function transformSquare

docs/app/js/sanddance-app.js:129038–129040  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

129036 return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x);
129037}
129038function transformSquare(x) {
129039 return x < 0 ? -x * x : x * x;
129040}
129041function powish(transform) {
129042 var scale = transform((0, _continuousJs.identity), (0, _continuousJs.identity)), exponent = 1;
129043 function rescale() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected