Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

itof(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

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

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: (5 Replies)
Discussion started by: GandalfWhite
5 Replies

2. UNIX for Dummies Questions & Answers

Two complement to double conversion

Is there a reuse code somewhere for conversion of two complement to a 64-bit double? Any pointer is greatly appreciated! GG (0 Replies)
Discussion started by: NAVTime
0 Replies

3. Shell Programming and Scripting

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. (2 Replies)
Discussion started by: srivalli
2 Replies