mirror of
https://github.com/Z3Prover/z3
synced 2025-08-04 18:30:24 +00:00
Z3 sources
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
3f9edad676
commit
e9eab22e5c
1186 changed files with 381859 additions and 0 deletions
54
lib/dummy_big_rational.h
Normal file
54
lib/dummy_big_rational.h
Normal file
|
@ -0,0 +1,54 @@
|
|||
/*++
|
||||
Copyright (c) 2006 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
dummy_big_rational.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Dummy big rational
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo de Moura (leonardo) 2006-09-26.
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _DUMMY_BIG_RATIONAL_H_
|
||||
#define _DUMMY_BIG_RATIONAL_H_
|
||||
|
||||
#include<string>
|
||||
#include"debug.h"
|
||||
|
||||
class big_rational {
|
||||
public:
|
||||
big_rational() { }
|
||||
big_rational(int n) {}
|
||||
~big_rational() {}
|
||||
void reset() {}
|
||||
unsigned hash() const { return 0; }
|
||||
void set(int num, int den) { UNREACHABLE(); }
|
||||
void set(const char * str) { UNREACHABLE(); }
|
||||
bool is_int() const { UNREACHABLE(); return false; }
|
||||
long get_int() const { UNREACHABLE(); return 0; }
|
||||
void neg() { UNREACHABLE(); }
|
||||
big_rational & operator=(const big_rational & r) { UNREACHABLE(); return *this; }
|
||||
bool operator==(const big_rational & r) const { UNREACHABLE(); return false; }
|
||||
bool operator<(const big_rational & r) const { UNREACHABLE(); return false; }
|
||||
big_rational & operator+=(const big_rational & r) { UNREACHABLE(); return *this; }
|
||||
big_rational & operator-=(const big_rational & r) { UNREACHABLE(); return *this; }
|
||||
big_rational & operator*=(const big_rational & r) { UNREACHABLE(); return *this; }
|
||||
big_rational & operator/=(const big_rational & r) { UNREACHABLE(); return *this; }
|
||||
big_rational & operator%=(const big_rational & r) { UNREACHABLE(); return *this; }
|
||||
friend void div(const big_rational & r1, const big_rational & r2, big_rational & result) { UNREACHABLE(); }
|
||||
void get_numerator(big_rational & result) { UNREACHABLE(); }
|
||||
void get_denominator(big_rational & result) { UNREACHABLE(); }
|
||||
void get_floor(big_rational & result) { UNREACHABLE(); }
|
||||
std::string to_string() const { UNREACHABLE(); return std::string(""); }
|
||||
};
|
||||
|
||||
#endif /* _DUMMY_BIG_RATIONAL_H_ */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue