Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. smaksmak

    Conversion of negative floating point variable to positive variable

    Thanks for your comment jolesen..I would really try "fabsf" as you said..for now bye.Thanks once again :)
  2. smaksmak

    Conversion of negative floating point variable to positive variable

    Hello friends (Jolesen, Daniel and dchoulette)!!!! I am very happy yaar!!..Atlast I have found the appropriate statement yet very simple that have got elapsed from our thinking.. I ran the program..it worked perfectly fine..:))).. the code i have found is.. diff = diff*diff; diff =...
  3. smaksmak

    Conversion of negative floating point variable to positive variable

    Thanks for ur reply jolesen! it is not working as you said..I am getting a error while compiling the program as " 'fabsf' undefined; assuming extern returning int " and I could not able to execute the program.please let me know if u have any other method. Thanks for replying daniel...
  4. smaksmak

    Conversion of negative floating point variable to positive variable

    Hello Jolesen! Thanks for replying! I am a novice programmer started practicing in "C".So would you be kind enough to explain ur answer.I really dun get it what does it mean by fabs(double-arg)or fabsf(float_aarg)..what does this command do and where i have to insert and how...please...
  5. smaksmak

    Conversion of negative floating point variable to positive variable

    Hello friends! Fisrt of all, I convey my heartful Thanks to all of them subscribed to this wonderful forum. I would like to have you help me in solving a problem that i face with floating point variable positive/negative value conversion. Problem scenario: I declare a variable as float and a...

Part and Inventory Search

Back
Top