| 1 |
|
|---|
| 2 | /* @(#)s_sin.c 5.1 93/09/24 */
|
|---|
| 3 | /*
|
|---|
| 4 | * ====================================================
|
|---|
| 5 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
|
|---|
| 6 | *
|
|---|
| 7 | * Developed at SunPro, a Sun Microsystems, Inc. business.
|
|---|
| 8 | * Permission to use, copy, modify, and distribute this
|
|---|
| 9 | * software is freely granted, provided that this notice
|
|---|
| 10 | * is preserved.
|
|---|
| 11 | * ====================================================
|
|---|
| 12 | */
|
|---|
| 13 |
|
|---|
| 14 | /*
|
|---|
| 15 | FUNCTION
|
|---|
| 16 | <<sin>>, <<sinf>>, <<cos>>, <<cosf>>---sine or cosine
|
|---|
| 17 | INDEX
|
|---|
| 18 | sin
|
|---|
| 19 | INDEX
|
|---|
| 20 | sinf
|
|---|
| 21 | INDEX
|
|---|
| 22 | cos
|
|---|
| 23 | INDEX
|
|---|
| 24 | cosf
|
|---|
| 25 | ANSI_SYNOPSIS
|
|---|
| 26 | #include <math.h>
|
|---|
| 27 | double sin(double <[x]>);
|
|---|
| 28 | float sinf(float <[x]>);
|
|---|
| 29 | double cos(double <[x]>);
|
|---|
| 30 | float cosf(float <[x]>);
|
|---|
| 31 |
|
|---|
| 32 | TRAD_SYNOPSIS
|
|---|
|
|---|