[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2584.0. "uil float difference between VAX & RISC (ultrix)" by LSNCSC::MEISTER () Mon Apr 09 1990 09:06

    hello
    
    I've got a question concerning the difference between VAX and RISC
    under Ultrix and UIL...
    
    My customer tells me, that the same DECwindows-program (C - UIL 
    combination) runs well on VAX but not on RISC. So what's the 
    difference? He's defining floating point values in UIL (-1.0 and 3.75
    or something similar...), giving the correct results on any VAX, but 
    on a RISC machine, these numbers are returned as 0.00. What's the
    correct way to define floating values in UIL on RISC to get the right
    value?
    
    Any hints are appreciated, Andreas, SSG ST. Sulpice, Switzerland 
    
T.RTitleUserPersonal
Name
DateLines
2584.1uil floatsRTL::PELLEGRINOBob PellegrinoMon Apr 09 1990 14:138
How many decimal places were used in the floating point numbers?

Up until now, Uil only supported single floats, and the behavior you describe
may be the result of passing it a double.  We've added double float support,
which will be released with DecWindows V3.0.

--bob (UIL developer)