~ubuntu-branches/debian/sid/genius/sid

« back to all changes in this revision

Viewing changes to mpfr/constant.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-08-21 12:57:45 UTC
  • Revision ID: james.westby@ubuntu.com-20060821125745-sl9ks8v7fq324bdf
Tags: upstream-0.7.6.1
ImportĀ upstreamĀ versionĀ 0.7.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* MPFR internal constant FP numbers
 
2
 
 
3
Copyright 2005 Free Software Foundation.
 
4
 
 
5
This file is part of the MPFR Library.
 
6
 
 
7
The MPFR Library is free software; you can redistribute it and/or modify
 
8
it under the terms of the GNU Lesser General Public License as published by
 
9
the Free Software Foundation; either version 2.1 of the License, or (at your
 
10
option) any later version.
 
11
 
 
12
The MPFR Library is distributed in the hope that it will be useful, but
 
13
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
14
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
15
License for more details.
 
16
 
 
17
You should have received a copy of the GNU Lesser General Public License
 
18
along with the MPFR Library; see the file COPYING.LIB.  If not, write to
 
19
the Free Software Foundation, Inc., 51 Franklin Place, Fifth Floor, Boston,
 
20
MA 02110-1301, USA. */
 
21
 
 
22
#include "mpfr-impl.h"
 
23
 
 
24
static const mp_limb_t __gmpfr_limb1[1] = {MPFR_LIMB_HIGHBIT};
 
25
const MPFR_THREAD_ATTR mpfr_t __gmpfr_one =
 
26
  {{2, MPFR_SIGN_POS, 1, (mp_limb_t*)__gmpfr_limb1}};
 
27
const MPFR_THREAD_ATTR mpfr_t __gmpfr_two =
 
28
  {{2, MPFR_SIGN_POS, 2, (mp_limb_t*)__gmpfr_limb1}};
 
29
const MPFR_THREAD_ATTR mpfr_t __gmpfr_four =
 
30
  {{2, MPFR_SIGN_POS, 3, (mp_limb_t*)__gmpfr_limb1}};