webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Macros | Typedefs | Functions
bigfib.cpp File Reference
#include <climits>
#include <cstdlib>
#include <cassert>
#include <string>
#include <sstream>
#include <vector>
#include <iostream>
#include <iomanip>
#include <algorithm>

Classes

class  BigInt
 
class  Fibonacci
 

Macros

#define MAX_VALUE(x, y)   ((x) > (y) ? (x) : (y))
 
#define ASSERT(x)
 
#define MAX_UNIT_VALUE   (ULONG_MAX >> 2)
 
#define BASE1   10
 
#define BASE2   1000000000
 
#define ALL_FIBS   "all"
 
#define TH_FIB   "th"
 
#define SOME_FIBS   "some"
 
#define RAND_FIBS   "rand"
 
#define MAX_RAND_FIB   25000
 
#define SETW1   4
 

Typedefs

typedef unsigned int uint
 
typedef unsigned long ulong
 

Functions

ostream & operator<< (ostream &os, const BigInt &ins_i)
 
void usage (char **argv)
 
string check (int argc, char **argv)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ ALL_FIBS

#define ALL_FIBS   "all"

◆ ASSERT

#define ASSERT (   x)

◆ BASE1

#define BASE1   10

◆ BASE2

#define BASE2   1000000000

◆ MAX_RAND_FIB

#define MAX_RAND_FIB   25000

◆ MAX_UNIT_VALUE

#define MAX_UNIT_VALUE   (ULONG_MAX >> 2)

◆ MAX_VALUE

#define MAX_VALUE (   x,
  y 
)    ((x) > (y) ? (x) : (y))

◆ RAND_FIBS

#define RAND_FIBS   "rand"

◆ SETW1

#define SETW1   4

◆ SOME_FIBS

#define SOME_FIBS   "some"

◆ TH_FIB

#define TH_FIB   "th"

Typedef Documentation

◆ uint

typedef unsigned int uint

◆ ulong

typedef unsigned long ulong

Function Documentation

◆ check()

string check ( int  argc,
char **  argv 
)

◆ main()

int main ( int  argc,
char **  argv 
)

◆ operator<<()

ostream& operator<< ( ostream &  os,
const BigInt ins_i 
)
inline

◆ usage()

void usage ( char **  argv)