View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12889 Members
Join this group to post and comment.
shalini_goel14
shalini_goel14 • Jun 2, 2009

Doubt regarding platform dependent behavior of Floating point numbers

Hi all,

Yesterday I was going through some stuff and found that behavior of floating point numbers in most of the programming languages is platform dependent at times. Is there any specific reason behind this why such thing happens ? Any compiler experts here have ideas about my this stupid question ?
shalini_goel14
shalini_goel14 • Jun 3, 2009
No answers for my doubt? Where are the genius minds of CE gone? 😔
manusaluja
manusaluja • Jun 4, 2009
Good Question, although i havent thought about that, but somewhere i studied in java that to ensure that a floating point value as platform independent, we use strictfp.

Anyways will try to find out more details about that and will share with you guys,
shalini_goel14
shalini_goel14 • Jun 4, 2009
manusaluja
Anyways will try to find out more details about that and will share with you guys,
Thanks manu but Please be genric in details -this doubt is not Java-specific. 😀

Share this content on your social channels -