~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to sysdeps/ieee754/dbl-64/mpsqrt.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * IBM Accurate Mathematical Library
3
3
 * Written by International Business Machines Corp.
4
 
 * Copyright (C) 2001, 2011 Free Software Foundation, Inc.
 
4
 * Copyright (C) 2001 Free Software Foundation, Inc.
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
7
7
 * it under the terms of the GNU Lesser General Public License as published by
28
28
#ifndef MPSQRT_H
29
29
#define MPSQRT_H
30
30
 
31
 
extern const number __mpsqrt_one attribute_hidden;
32
 
extern const number __mpsqrt_halfrad attribute_hidden;
33
 
extern const int __mpsqrt_mp[33] attribute_hidden;
34
 
 
35
 
 
36
 
#ifndef AVOID_MPSQRT_H
37
31
#ifdef BIG_ENDI
38
 
  const number
39
 
/**/ __mpsqrt_one            = {{0x3ff00000, 0x00000000} }, /* 1      */
40
 
/**/ __mpsqrt_halfrad        = {{0x41600000, 0x00000000} }; /* 2**23  */
 
32
  static const number
 
33
/**/ one            = {{0x3ff00000, 0x00000000} }, /* 1      */
 
34
/**/ halfrad        = {{0x41600000, 0x00000000} }; /* 2**23  */
41
35
 
42
36
#else
43
37
#ifdef LITTLE_ENDI
44
 
  const number
45
 
/**/ __mpsqrt_one            = {{0x00000000, 0x3ff00000} }, /* 1      */
46
 
/**/ __mpsqrt_halfrad        = {{0x00000000, 0x41600000} }; /* 2**23  */
47
 
 
48
 
#endif
49
 
#endif
50
 
 
51
 
  const int __mpsqrt_mp[33] = {0,0,0,0,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,
52
 
                             4,4,4,4,4,4,4,4,4};
53
 
#endif
54
 
 
55
 
#define  ONE       __mpsqrt_one.d
56
 
#define  HALFRAD   __mpsqrt_halfrad.d
 
38
  static const number
 
39
/**/ one            = {{0x00000000, 0x3ff00000} }, /* 1      */
 
40
/**/ halfrad        = {{0x00000000, 0x41600000} }; /* 2**23  */
 
41
 
 
42
#endif
 
43
#endif
 
44
 
 
45
#define  ONE       one.d
 
46
#define  HALFRAD   halfrad.d
 
47
 
 
48
  static const int mp[33] = {0,0,0,0,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,
 
49
                             4,4,4,4,4,4,4,4,4};
57
50
 
58
51
#endif