GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Macros | Functions
mach-info.cc File Reference
#include "f77-fcn.h"
#include "lo-error.h"
#include "mach-info.h"
#include "singleton-cleanup.h"
Include dependency graph for mach-info.cc:

Go to the source code of this file.

Classes

union  equiv
 
struct  float_params
 

Macros

#define INIT_FLT_PAR(fp, fmt, sm1, sm2, lrg1, lrg2, rt1, rt2, dv1, dv2)
 

Functions

static int equiv_compare (const equiv *std, const equiv *v, int len)
 
double F77_FUNC (d1mach, D1MACH)(const octave_idx_type &)
 
static oct_mach_info::float_format get_float_format (void)
 
static bool ten_little_endians (void)
 

Macro Definition Documentation

#define INIT_FLT_PAR (   fp,
  fmt,
  sm1,
  sm2,
  lrg1,
  lrg2,
  rt1,
  rt2,
  dv1,
  dv2 
)
Value:
do \
{ \
fp.fp_fmt = (fmt); \
fp.fp_par[0].i[0] = (sm1); fp.fp_par[0].i[1] = (sm2); \
fp.fp_par[1].i[0] = (lrg1); fp.fp_par[1].i[1] = (lrg2); \
fp.fp_par[2].i[0] = (rt1); fp.fp_par[2].i[1] = (rt2); \
fp.fp_par[3].i[0] = (dv1); fp.fp_par[3].i[1] = (dv2); \
} \
while (0)

Definition at line 52 of file mach-info.cc.

Referenced by get_float_format().

Function Documentation

static int equiv_compare ( const equiv std,
const equiv v,
int  len 
)
static

Definition at line 64 of file mach-info.cc.

Referenced by get_float_format().

double F77_FUNC ( d1mach  ,
D1MACH   
) const

Referenced by get_float_format().

static oct_mach_info::float_format get_float_format ( void  )
static
static bool ten_little_endians ( void  )
static

Definition at line 120 of file mach-info.cc.