CBMC
rational.cpp File Reference

Rational Numbers. More...

#include "rational.h"
#include <ostream>
#include "invariant.h"
+ Include dependency graph for rational.cpp:

Go to the source code of this file.

Functions

rationalt inverse (const rationalt &n)
 
std::ostream & operator<< (std::ostream &out, const rationalt &a)
 

Detailed Description

Rational Numbers.

Definition in file rational.cpp.

Function Documentation

◆ inverse()

rationalt inverse ( const rationalt n)

Definition at line 98 of file rational.cpp.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const rationalt a 
)

Definition at line 105 of file rational.cpp.