Reference.Cos History

Hide minor edits - Show changes to markup

September 05, 2010, at 06:05 PM by David A. Mellis -
Deleted lines 14-16:

Note

Serial.print() and Serial.println() do not currently support printing floats.

December 22, 2007, at 04:41 PM by David A. Mellis -
Changed lines 22-24 from:
to:
December 22, 2007, at 04:31 PM by David A. Mellis - people shouldn't need to know where a function is defined.
Changed lines 6-8 from:

Cos() is part of the avr-libc library.

to:
December 22, 2007, at 03:28 PM by Paul Badger -
December 22, 2007, at 03:25 PM by Paul Badger -
Changed lines 5-7 from:

Calculates the cos of an angle (in radians). The result will be between -1 and 1.\\ Cos() is part of the avr-libc library.

to:

Calculates the cos of an angle (in radians). The result will be between -1 and 1.
Cos() is part of the avr-libc library.

December 22, 2007, at 03:24 PM by Paul Badger -
Changed lines 5-7 from:

Calculates the cos of an angle (in radians). The result will be between -1 and 1. cos() is part of the avr-libc library.

to:

Calculates the cos of an angle (in radians). The result will be between -1 and 1.\\ Cos() is part of the avr-libc library.

December 22, 2007, at 03:24 PM by Paul Badger -
Changed lines 5-6 from:

Calculates the cos of an angle (in radians). The result will be between -1 and 1.

to:

Calculates the cos of an angle (in radians). The result will be between -1 and 1. cos() is part of the avr-libc library.

Changed lines 14-15 from:

The cos of the angle.

to:

The cos of the angle ("double")

Changed lines 23-24 from:
to:
November 21, 2007, at 04:21 PM by David A. Mellis -
Added lines 1-23:

cos(rad)

Description

Calculates the cos of an angle (in radians). The result will be between -1 and 1.

Parameters

rad: the angle in radians (float)

Returns

The cos of the angle.

Note

Serial.print() and Serial.println() do not currently support printing floats.

See also

Share