hi,
i need to calculate 300! , which is about 1e+400 or more. i found the information tha long double is handled as double but i NEED long double. how can i activate it? what can i do?
please help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I googled a little bit on this, because I was curious and punch drunk from a long week. You might want to try that as well.
Given my limited brights, here is what I saw. There is an issue with representation and display of long doubles related to our friends at Microsoft. It appears that gcc deals with this display issue by having long double = double, so only 64 bits, and not 80 are supported.
Of course I amy just have gotten it all wrong...
Wayne(bozo)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
According to the standard, long double only needs to be as long as double, so I don't know if there is any way to "activate" it. Do you really need floating point numbers, or would integers do?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi,
i need to calculate 300! , which is about 1e+400 or more. i found the information tha long double is handled as double but i NEED long double. how can i activate it? what can i do?
please help
I googled a little bit on this, because I was curious and punch drunk from a long week. You might want to try that as well.
Given my limited brights, here is what I saw. There is an issue with representation and display of long doubles related to our friends at Microsoft. It appears that gcc deals with this display issue by having long double = double, so only 64 bits, and not 80 are supported.
Of course I amy just have gotten it all wrong...
Wayne(bozo)
According to the standard, long double only needs to be as long as double, so I don't know if there is any way to "activate" it. Do you really need floating point numbers, or would integers do?
i need floating point... :(
how can i use so long integers? maybe it would be ok to round a little bit. :)
When I was playing around with it last night, I could get to about 175!. Cutoff seems to be somewhere about 10^307
Wayne
Wayne,
Do you ever actually do any programming when off work?
BlakJak ;]
You makin' fun of me dude?
;-)
Wayne
Yep!!
Just amazed at how you can find the time to answer some of these freaky questions!
BlakJak :]
Jes doin' my best to let you guys answer the hard ones!
(I am *not* making fun of you)
Actually, I am a sick puppy for whom looking at this forum constitutes taking a break.
(I *am* making fun of me)
Wayne