Re: [Linux-decnet-user] librms + vax floating point
Brought to you by:
chrissie_c,
ph3-der-loewe
|
From: Stanley F. Q. <sys...@st...> - 2005-08-11 14:26:14
|
There are lots of different float formats on VMS systems. The VAX platform can only do VAX floats. The Itanium platform can only do IEEE floats. The Alpha platform swings both ways. ;-) The smallest VAX float is F float, which is 32 bits. If that's the one you're trying to read, I have a bit-swizzle technique for converting them. The VMS FAQ: http://h71000.www7.hp.com/faq/openvms_faq.html?jumpid=/go/openvms/faq recommends seeing: http://www.hhs.dk/anonymous/pub/vms/collection/ieee.zip The FAQ discusses the floating-point formats in detail, section 14.10. There's enough details to make conversion routines. --Stan Quayle Quayle Consulting Inc. ---------- Stanley F. Quayle, P.E. N8SQ +1 614-868-1363 8572 North Spring Ct., Pickerington, OH 43147 USA stan-at-stanq-dot-com http://www.stanq.com "OpenVMS, when downtime is not an option" |