COIN-OR::LEMON - Graph Library

source: lemon-0.x/lemon/base.cc @ 1913:49fe71fce7fb

Last change on this file since 1913:49fe71fce7fb was 1897:dd90f57b01d1, checked in by Alpar Juttner, 18 years ago

Tolerance<long double> added

File size: 982 bytes
Line 
1/* -*- C++ -*-
2 * lemon/base.cc - Part of LEMON, a generic C++ optimization library
3 *
4 * Copyright (C) 2006 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
5 * (Egervary Research Group on Combinatorial Optimization, EGRES).
6 *
7 * Permission to use, modify and distribute this software is granted
8 * provided that this copyright notice appears in all copies. For
9 * precise terms see the accompanying LICENSE file.
10 *
11 * This software is provided "AS IS" with no warranty of any kind,
12 * express or implied, and with no claim as to its suitability for any
13 * purpose.
14 *
15 */
16
17///\file
18///\brief Some basic non inline function and static global data.
19
20#include<lemon/tolerance.h>
21#include<lemon/invalid.h>
22namespace lemon {
23
24  float Tolerance<float>::def_epsilon = 1e-4;
25  double Tolerance<double>::def_epsilon = 1e-10;
26  long double Tolerance<long double>::def_epsilon = 1e-14;
27
28#ifndef LEMON_ONLY_TEMPLATES
29  const Invalid INVALID = Invalid();
30#endif
31
32} //namespace lemon
Note: See TracBrowser for help on using the repository browser.