# gtoi(3) [ultrix man page]

```ftoi(3) 						     Library Functions Manual							   ftoi(3)

Name
ftoi, itof, dtoi, itod, gtoi, itog - convert floating values between VAX and IEEE format

Syntax
int ftoi(value)
float *value;

int itof(value)
float *value;

int dtoi(value)
double *value;

int itod(value)
double *value;

int gtoi(value)
double *value;

int itog(value)
double *value;

Description
The following C library functions convert floating values between VAX and IEEE formats.

The  function  converts the specified VAX ffloat number to IEEE single-precision format.  It returns zero if successful and nonzero without
performing the conversion if not successful (for example, underflow).

The function converts the specified IEEE single-precision number to VAX ffloat format.  It returns zero if successful and  nonzero  without
performing the conversion if not successful (for example, overflow).

The  function  converts the specified VAX dfloat number to IEEE double-precision format.  It returns zero if successful and nonzero without
performing the conversion if not successful (for example, underflow).

The function converts the specified IEEE double-precision number to VAX dfloat format.  It returns zero if successful and  nonzero  without
performing the conversion if not successful (for example, underflow or overflow).

The  function  converts the specified VAX gfloat number to IEEE double-precision format.  It returns zero if successful and nonzero without
performing the conversion if not successful (for example, underflow).

The function converts the specified IEEE double-precision number to VAX gfloat format.  It returns zero if successful and  nonzero  without
performing the conversion if not successful (for example, underflow).

ftoi(3)```

## Check Out this Related Man Page

```ftoi(3) 						     Library Functions Manual							   ftoi(3)

Name
ftoi, itof, dtoi, itod, gtoi, itog - convert floating values between VAX and IEEE format

Syntax
int ftoi(value)
float *value;

int itof(value)
float *value;

int dtoi(value)
double *value;

int itod(value)
double *value;

int gtoi(value)
double *value;

int itog(value)
double *value;

Description
The following C library functions convert floating values between VAX and IEEE formats.

The  function  converts the specified VAX ffloat number to IEEE single-precision format.  It returns zero if successful and nonzero without
performing the conversion if not successful (for example, underflow).

The function converts the specified IEEE single-precision number to VAX ffloat format.  It returns zero if successful and  nonzero  without
performing the conversion if not successful (for example, overflow).

The  function  converts the specified VAX dfloat number to IEEE double-precision format.  It returns zero if successful and nonzero without
performing the conversion if not successful (for example, underflow).

The function converts the specified IEEE double-precision number to VAX dfloat format.  It returns zero if successful and  nonzero  without
performing the conversion if not successful (for example, underflow or overflow).

The  function  converts the specified VAX gfloat number to IEEE double-precision format.  It returns zero if successful and nonzero without
performing the conversion if not successful (for example, underflow).

The function converts the specified IEEE double-precision number to VAX gfloat format.  It returns zero if successful and  nonzero  without
performing the conversion if not successful (for example, underflow).

ftoi(3)```
Man Page

## VAX/VMS anyone??

Hope someone can help here..... I'm looking for some websites with info on VAX/VMS. I've tried google, yahoo and other search engines, but to no avail. Am I looking in the correct place?? :confused:

## File conversion problem

To convert file epcdic to ascill format,i am using below code.Getting some junk characters in output file.not sure what the issue is.Please correct if below command is wrong. DD conv=ascii if=filename of =output_filename.