GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
cmach-info.c File Reference
#include <stdint.h>
#include "cmach-info.h"
#include "f77-fcn.h"

Go to the source code of this file.

Macros

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

Functions

double F77_FUNC (d1mach, D1MACH) const
 
int octave_get_float_format (void)
 
int octave_is_big_endian (void)
 

Variables

 equiv
 

Macro Definition Documentation

◆ INIT_FLT_PAR

#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 49 of file cmach-info.c.

Function Documentation

◆ F77_FUNC()

double F77_FUNC ( d1mach  ,
D1MACH   
) const

Definition at line 35 of file cmach-info.c.

References d.

Referenced by octave_get_float_format().

◆ octave_get_float_format()

int octave_get_float_format ( void  )

Definition at line 77 of file cmach-info.c.

References d1mach(), equiv, F77_FUNC(), and INIT_FLT_PAR.

◆ octave_is_big_endian()

int octave_is_big_endian ( void  )

Definition at line 132 of file cmach-info.c.

Variable Documentation

◆ equiv

equiv

Definition at line 41 of file cmach-info.c.

Referenced by octave_get_float_format().