shalini_goel14
shalini_goel14
Branch Unspecified
02 Jun 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

Branch Unspecified
03 Jun 2009
No answers for my doubt? Where are the genius minds of CE gone? 😔
manusaluja

manusaluja

Branch Unspecified
04 Jun 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

Branch Unspecified
04 Jun 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 -

Only logged in users can reply.