sin man page on Plan9

 Man page or keyword search:   man All Sections 1 - General Commands 2 - System Calls 3 - Subroutines, Functions 4 - Special Files 5 - File Formats 6 - Games and Screensavers 7 - Macros and Conventions 8 - Maintenence Commands 9 - Kernel Interface New Commands Server 4.4BSD AIX Alpinelinux Archlinux Aros BSDOS BSDi Bifrost CentOS Cygwin Darwin Debian DigitalUNIX DragonFly ElementaryOS Fedora FreeBSD Gentoo GhostBSD HP-UX Haiku Hurd IRIX Inferno JazzOS Kali Knoppix LinuxMint MacOSX Mageia Mandriva Manjaro Minix MirBSD NeXTSTEP NetBSD OPENSTEP OSF1 OpenBSD OpenDarwin OpenIndiana OpenMandriva OpenServer OpenSuSE OpenVMS Oracle PC-BSD Peanut Pidora Plan9 QNX Raspbian RedHat Scientific Slackware SmartOS Solaris SuSE SunOS Syllable Tru64 UNIXv7 Ubuntu Ultrix UnixWare Xenix YellowDog aLinux   549 pages apropos Keyword Search (all sections) Output format html ascii pdf view pdf save postscript
[printable version]

SIN(2)									SIN(2)

NAME
sin, cos, tan, asin, acos, atan, atan2 - trigonometric functions

SYNOPSIS
#include <u.h>
#include <libc.h>

double sin(double x)

double cos(double x)

double tan(double x)

double asin(double x)

double acos(double x)

double atan(double x)

double atan2(double y, double x)

DESCRIPTION
Sin,  cos  and  tan return trigonometric functions of radian arguments.
The magnitude of the argument should be checked by the caller  to  make
sure the result is meaningful.

Asin returns the arc sine in the range -π/2 to π/2.

Acos returns the arc cosine in the range 0 to π.

Atan returns the arc tangent in the range -π/2 to π/2.

Atan2 returns the arc tangent of y/x in the range -π to π.

SOURCE
/sys/src/libc/port

intro(2)

BUGS
The value of tan for arguments greater than about 2^31 is garbage.

SIN(2)
[top]
_         _         _
| |       | |       | |
| |       | |       | |
__ | | __ __ | | __ __ | | __
\ \| |/ / \ \| |/ / \ \| |/ /
\ \ / /   \ \ / /   \ \ / /
\   /     \   /     \   /
\_/       \_/       \_/

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.