ActiveState homepage
docs.activestate.com
ActivePerl 5.32 Documentation
  • Get ActivePerl
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      Windows Perl 5.32 docs
  • Contact Us

sin - perldoc.perl.org
Home  > Language reference > Functions > sin
Perl 5 version 32.0 documentation

sin

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage
  • sin EXPR

  • sin

    Returns the sine of EXPR (expressed in radians). If EXPR is omitted, returns sine of $_ .

    For the inverse sine operation, you may use the Math::Trig::asin function, or use this relation:

    1. sub asin { atan2($_[0], sqrt(1 - $_[0] * $_[0])) }
Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.