~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to libm/fplib/atan.S

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2011-07-14 11:15:32 UTC
  • mfrom: (1.1.10 upstream) (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110714111532-e83i3vqdowgxw8lv
Tags: 1:1.7.1-2
include/util/delay.h.in: Add math.h to list of includes (closes:
#633822)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28
28
  POSSIBILITY OF SUCH DAMAGE. */
29
29
 
30
 
/* $Id: atan.S,v 1.9 2007/01/14 15:06:23 dmix Exp $ */
 
30
/* $Id: atan.S 2191 2010-11-05 13:45:57Z arcanum $ */
31
31
 
32
32
/* float atan (float A);
33
33
     The atan() function calculates the arc tangent of A; that is
42
42
            return x * (1 - C1 * x**2 + ... + C8 * x**16)
43
43
 */
44
44
 
 
45
 
 
46
#if !defined(__AVR_TINY__)
 
47
 
45
48
#include "fp32def.h"
46
49
#include "asmdef.h"
47
50
 
112
115
        .byte   0x91,0x6b,0xaa,0xaa,0xbe        ; -0.3333314528
113
116
        .byte   0x00,0x00,0x00,0x80,0x3f        ;  1.0000000000
114
117
        .end
 
118
 
 
119
#endif /* !defined(__AVR_TINY__) */