(rad)
| 367 | return result.length == 1 ? result[0] : result |
| 368 | } |
| 369 | angle2Vec(rad) { |
| 370 | return [this.cos(rad), this.sin(rad)]; |
| 371 | } |
| 372 | asin(n) { |
| 373 | if (typeof n != 'object' || BigNumber.isBigNumber(n)) { |
| 374 | n = BigNumber.isBigNumber(n) == true ? n.toNumber() : n |