Long double didn't work over 1e+308 
Author Message
 Long double didn't work over 1e+308

Thank you..for your help
    My work is on win95.I'm trying to multiply very high value over 1e+308
so I use long double...but it still have the range same as double.I already
read help that told me long double in win95 automatically convert to double
because double in win95 use 64-bits that covered long double range,isn't
it???
    I don't know what to do...please help me
                                                    Thank you very much
                                                    Wara Kongkavitool



Mon, 22 Jan 2001 03:00:00 GMT  
 Long double didn't work over 1e+308

Quote:
>    My work is on win95.I'm trying to multiply very high value over 1e+308
>so I use long double...but it still have the range same as double.I already
>read help that told me long double in win95 automatically convert to double
>because double in win95 use 64-bits that covered long double range,isn't
>it???

I guess one solution would be to write the functions you need using
floating point assembler, and to store the full 80-bit precision
numbers in 10 byte arrays. If your requirements are fairly simple,
then it shouldn't be too difficult.

Dave
----
Address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow up email copies.



Tue, 23 Jan 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Long double didn't work over 1e+308

2. system(type system.c)....didn't work!

3. SYSTEM CALL in a while loop didn't work

4. Unable to display help - Tried the reg stuff it didn't work

5. DoModal didn't work, why ?

6. Long long and long double

7. Double to string: _fcvt no longer works ???!!!

8. ANSI C: printf'ing long doubles ?

9. can long double be less precise than double?

10. long long integer and double precision number

11. addition long values to long double value ?

12. epsilon for float, double long double

 

 
Powered by phpBB® Forum Software