Main Page | Alphabetical List | Class List | File List | Class Members | File Members

gnu.h File Reference

#include <nlibc.h>
#include <complex.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <fpu_control.h>

Include dependency graph for gnu.h:

Include dependency graph

Go to the source code of this file.

Classes

struct  vector

Defines

#define complex   double_complex
#define float   double
#define int   int64_t
#define write_double(y)   printf("%1.15e \n",y)
#define write_float(y)   printf("%1.15e \n",y)
#define write_complex(y)   printf("(%1.15e,%1.15e) \n",real(y),imag(y))
#define write_vector(y)   printf("(%1.15e,%1.15e)\n",y.lo,y.hi)
#define write_string(y)   printf("%s",y)

Functions

void write_int (int y)
void write_double_array (double *y, int x)
void write_int_array (int *y, int x)
void write_complex_array (complex *y, int x)
void write_vector_array (vector *y, int x)


Define Documentation

#define complex   double_complex
 

Definition at line 37 of file gnu.h.

#define float   double
 

Definition at line 38 of file gnu.h.

#define int   int64_t
 

Definition at line 39 of file gnu.h.

#define write_complex  )     printf("(%1.15e,%1.15e) \n",real(y),imag(y))
 

Definition at line 53 of file gnu.h.

#define write_double  )     printf("%1.15e \n",y)
 

Definition at line 51 of file gnu.h.

#define write_float  )     printf("%1.15e \n",y)
 

Definition at line 52 of file gnu.h.

#define write_string  )     printf("%s",y)
 

Definition at line 55 of file gnu.h.

#define write_vector  )     printf("(%1.15e,%1.15e)\n",y.lo,y.hi)
 

Definition at line 54 of file gnu.h.


Function Documentation

void write_complex_array complex *  cp,
int  size
[inline]
 

NAME
write_complex_array - write an array of complex values to stdout
SYNOPSIS
#include <stdio.h>

void write_complex_array(complex *cp, int size);
DESCRIPTION
write_complex_array() writes the size complex values at memory position pointed to by vp to stdout. Each value is enclosed in (,) and the array is followed by a newline.
RETURN VALUE
None

Definition at line 275 of file stdio_os1.h.

void write_double_array double *  fp,
int  size
[inline]
 

NAME
write_double_array - write an array of double values to stdout
SYNOPSIS
#include <stdio.h>

void write_double_array(double *fp, int size);
DESCRIPTION
write_double_array() writes the size double values at memory position pointed to by vp to stdout. The array is followed by a newline.
RETURN VALUE
None

Definition at line 199 of file stdio_os1.h.

void write_int int  y  ) 
 

Definition at line 43 of file gnu.h.

References printf.

void write_int_array int *  ip,
int  size
[inline]
 

NAME
write_int_array - write an array of integer values to stdout
SYNOPSIS
#include <stdio.h>

void write_int_array(int *ip, int size);
DESCRIPTION
write_int_array() writes the size int values at memory position pointed to by ip to stdout. The array is followed by a newline.
RETURN VALUE
None

Definition at line 82 of file stdio_os1.h.

void write_vector_array vector vp,
int  size
[inline]
 

NAME
write_vector_array - write an array of vector floats to stdout
SYNOPSIS
#include <stdio.h>

void write_vector_array(vector *vp, int size);
DESCRIPTION
write_vector_array() writes the size vector values at memory position pointed to by vp to stdout. Each value is enclosed in (,) and the array is followed by a newline.
RETURN VALUE
None

Definition at line 351 of file stdio_os1.h.


Generated on Mon Feb 20 15:54:26 2006 for nlibc by doxygen 1.3.5