* How to convert Vax float to AXP OSF float
@ 1994-08-25 11:55 Robert E. Pappenhagen
0 siblings, 0 replies; only message in thread
From: Robert E. Pappenhagen @ 1994-08-25 11:55 UTC (permalink / raw)
Okay I give up....
I need to convert VAX floats into IEEE floats on my AXP OSF machine.
I have a function that works for all numbers > FLT_MIN but the valid
values between FLT_MIN and VAX_FLT_MIN cause a core dump on the AXP OSF
machine. I'd like these values to be zero. Is there a way to tell
based on the bit pattern if a float is in this tiny range so I can
force it to zero ??? Should I convert the VAX float to a double and then
compare it to FLT_MIN and set it to zero if it is to small ??? does
the C library or the math library provide a function to convert for me ???
Thanks for your help .... BoB
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-08-25 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-25 11:55 How to convert Vax float to AXP OSF float Robert E. Pappenhagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox