log the reflectedType of complex square root

This commit is contained in:
Jos de Jong 2023-09-21 14:24:52 +02:00
parent 4947a80cb4
commit ce974e2a99
2 changed files with 2 additions and 4 deletions

View File

@ -98,5 +98,3 @@ $implement!('sqrt',
const denom = dep.conservativeSqrt(denomsq) const denom = dep.conservativeSqrt(denomsq)
return dep.divideReal(num, denom) return dep.divideReal(num, denom)
}) })
export const conservativeSqrt = sqrt

View File

@ -21,4 +21,4 @@ console.log('Result is', myabs)
// Check type of the generic square implementation // Check type of the generic square implementation
console.log('Type of square is', Specifications.generic.square.reflectedType) console.log('Type of square is', Specifications.generic.square.reflectedType)
console.log('Type of complex square root is', Specifications.Complex.sqrt.reflectedType) console.log('Type of complex square root is', Specifications.complex.sqrt.reflectedType)