[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Floating Point Conversions?

» close window

The Question is:

 
Dear Wizard,
I'm sending a C-Struct from an Alpha to a Intel machine (using TCP/IP).
But there are different double float formats, how can i convert between the
 format used by the different machines?
(please give me two solutions, one for single float and one for double)


The Answer is :

 
  As OpenVMS is available on Intel Itanium, you may not require any
  conversion.  (If you were refering to an Intel IA-32 architecture
  system, a native port of OpenVMS is not available.  If you wish
  programming assistance with Intel IA-32 architecture systems or
  with another operating system running on Intel Itanium Processor
  Famility (IA-64) or Intel IA-32 architectures, please contact the
  appropriate Wizard.)
 
  For OpenVMS conversions and operations, please see the OpenVMS
  Frequently Asked Questions (FAQ), including sections such as:
 
    How do I convert between IEEE and VAX floating data?
    What is the layout of the VAX floating point format?
 
  Or potentially select and use IEEE floating point for all of
  the operations, a format which is available on OpenVMS Alpha
  (native) and on most other platforms.
 
  Other topics related to floating point -- in addition to what is
  available in the AskQ support database and in the OpenVMS and C
  manuals -- include (58), (2290), (2553), (3354), (4727), (7002),
  (7129), (8268) (8524), (8739), (8846), (9091) and likely others.
 
  If you wish to acquire programming assistance or targeted coding
  examples, please also consider contacting your prefered vendor or
  the HP Services organization.
 

answer written or last revised on ( 12-JAN-2004 )

» close window