blob: 2e7e1833ec424f4102a6e813d1607b6580303a00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright (C) 2000, Imperial College
*
* This file is part of the Imperial College Exact Real Arithmetic Library.
* See the copyright notice included in the distribution for conditions
* of use.
*/
#include <stdio.h>
#include "real.h"
/*
* These will be specialized in a later version.
*/
Real
exp_QInt(int a, int b)
{
Real r;
r = vector_Int(a, b);
return exp_R(r);
}
Real
exp_QZ(mpz_t a, mpz_t b)
{
Real r;
r = vector_Z(a, b);
return exp_R(r);
}
|