Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.3
Mobile
2 years ago
Test name Executions per second
sin 11.6 Ops/sec
cos 11.5 Ops/sec
tan 11.5 Ops/sec
asin 11.8 Ops/sec
acos 11.3 Ops/sec
atan 11.5 Ops/sec
atan2 7.1 Ops/sec
Script Preparation code:
Tests:
  • sin

  • cos

  • tan

  • asin

  • acos

  • atan

  • atan2