adapting someone else's code

Discussion in 'C' started by cj5, Oct 26, 2010.

  1. cj5

    cj5 New Member

    Joined:
    Oct 26, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello there,

    I am converting some C/C++ code and ran into this.

    double r = (1.f/z)*c; c and z are of type complex; but what is 1.f ??

    thanks,

    Ron
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Looks invalid to me. What version of what compiler compiles the existing code?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice