aboutsummaryrefslogtreecommitdiff
path: root/ic-reals-6.3/math-lib/neg_R.c
blob: 3ae644cf1482ceec9f05430850bf118c7c36012a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * 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"

Real
neg_R(Real x)
{
	return mul_R_Int(x, -1);
}