Borderbasix

Macros | Typedefs | Functions
Scl_mpq.hpp File Reference
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "Scl.hpp"

Go to the source code of this file.

Macros

#define _MPQ_
 

Typedefs

typedef MP_RAT MPQ
 

Functions

std::ostream & operator<< (std::ostream &os, const Scl< MPQ > &b)
 
Scl< MPQoperator+ (const Scl< MPQ > &a1, const Scl< MPQ > &a2)
 
Scl< MPQoperator- (const Scl< MPQ > &a1, const Scl< MPQ > &a2)
 
Scl< MPQoperator* (const Scl< MPQ > &a1, const Scl< MPQ > &a2)
 
Scl< MPQoperator/ (const Scl< MPQ > &a1, const Scl< MPQ > &a2)
 
std::istream & operator>> (std::istream &is, Scl< MPQ > &b)
 
int compare (const Scl< MPQ > &b1, const Scl< MPQ > &b2)
 
int compare (const Scl< MPQ > &b, unsigned long ul)
 
int compare (const Scl< MPQ > &b, long sl)
 
bool has_positive_sign (const Scl< MPQ > &x)
 

Macro Definition Documentation

#define _MPQ_

Typedef Documentation

typedef MP_RAT MPQ

Function Documentation

int compare ( const Scl< MPQ > &  b1,
const Scl< MPQ > &  b2 
)
inline
int compare ( const Scl< MPQ > &  b,
unsigned long  ul 
)
inline
int compare ( const Scl< MPQ > &  b,
long  sl 
)
inline
bool has_positive_sign ( const Scl< MPQ > &  x)
Scl<MPQ> operator* ( const Scl< MPQ > &  a1,
const Scl< MPQ > &  a2 
)
Scl<MPQ> operator+ ( const Scl< MPQ > &  a1,
const Scl< MPQ > &  a2 
)
Scl<MPQ> operator- ( const Scl< MPQ > &  a1,
const Scl< MPQ > &  a2 
)
Scl<MPQ> operator/ ( const Scl< MPQ > &  a1,
const Scl< MPQ > &  a2 
)
std::ostream & operator<< ( std::ostream &  os,
const Scl< MPQ > &  b 
)
std::istream& operator>> ( std::istream &  is,
Scl< MPQ > &  b 
)
Home  |  Download & InstallContributions