Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
fb_freq.h File Reference
#include "defs.h"
#include "errors.h"
Include dependency graph for fb_freq.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FB_FREQ

Defines

#define FB_FREQ_TYPE_COMBINE(type1, type2)   ( (type1) > (type2) ? (type2) : (type1) )
#define FB_FREQ_TYPE_BETTER(type1, type2)   ( (type1) > (type2) )
#define FB_FREQ_TYPE_IS_EXACT(type)   ( (type) > 0 )
#define FB_FREQ_TYPE_IS_GUESS(type)   ( (type) == 0 )
#define FB_FREQ_TYPE_IS_KNOWN(type)   ( (type) >= 0 )
#define FB_FREQ_TYPE_NOT_KNOWN(type)   ( (type) < 0 )
#define FB_FREQ_TYPE_INITIALIZED(type)   ( (type) >= FB_FREQ_TYPE_UNKNOWN )
#define FB_FREQ_TYPE_IS_VALID(type)   ( (type) >= FB_FREQ_TYPE_ERROR && (type) <= FB_FREQ_TYPE_EXACT )

Enumerations

enum  FB_FREQ_TYPE {
  FB_FREQ_TYPE_EXACT = 1, FB_FREQ_TYPE_GUESS = 0, FB_FREQ_TYPE_UNKNOWN = -1, FB_FREQ_TYPE_UNINIT = -2,
  FB_FREQ_TYPE_ERROR = -3
}

Functions

const FB_FREQ FB_FREQ_ZERO (0.0, true)
const FB_FREQ FB_FREQ_UNKNOWN (FB_FREQ_TYPE_UNKNOWN)
const FB_FREQ FB_FREQ_UNINIT (FB_FREQ_TYPE_UNINIT)
const FB_FREQ FB_FREQ_ERROR (FB_FREQ_TYPE_ERROR)

Variables

const float FB_FREQ_EPSILON = 0.0001

Define Documentation

#define FB_FREQ_TYPE_BETTER (   type1,
  type2 
)    ( (type1) > (type2) )

Definition at line 113 of file fb_freq.h.

Referenced by FB_FREQ::Better().

#define FB_FREQ_TYPE_COMBINE (   type1,
  type2 
)    ( (type1) > (type2) ? (type2) : (type1) )
#define FB_FREQ_TYPE_INITIALIZED (   type)    ( (type) >= FB_FREQ_TYPE_UNKNOWN )

Definition at line 119 of file fb_freq.h.

Referenced by FB_FREQ::Initialized().

#define FB_FREQ_TYPE_IS_EXACT (   type)    ( (type) > 0 )

Definition at line 115 of file fb_freq.h.

Referenced by FB_FREQ::Exact().

#define FB_FREQ_TYPE_IS_GUESS (   type)    ( (type) == 0 )

Definition at line 116 of file fb_freq.h.

Referenced by FB_FREQ::Guess().

#define FB_FREQ_TYPE_IS_KNOWN (   type)    ( (type) >= 0 )

Definition at line 117 of file fb_freq.h.

Referenced by FB_FREQ::Known().

#define FB_FREQ_TYPE_IS_VALID (   type)    ( (type) >= FB_FREQ_TYPE_ERROR && (type) <= FB_FREQ_TYPE_EXACT )

Definition at line 121 of file fb_freq.h.

Referenced by FB_FREQ::FB_FREQ().

#define FB_FREQ_TYPE_NOT_KNOWN (   type)    ( (type) < 0 )

Enumeration Type Documentation

Enumerator:
FB_FREQ_TYPE_EXACT 
FB_FREQ_TYPE_GUESS 
FB_FREQ_TYPE_UNKNOWN 
FB_FREQ_TYPE_UNINIT 
FB_FREQ_TYPE_ERROR 

Definition at line 103 of file fb_freq.h.


Function Documentation

const FB_FREQ FB_FREQ_ZERO ( 0.  0,
true   
)

Referenced by FB_Info_Switch::Total().


Variable Documentation

const float FB_FREQ_EPSILON = 0.0001

Definition at line 131 of file fb_freq.h.

Referenced by FB_FREQ::operator-=(), and FB_FREQ::Zero().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines