1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    Looks invalid to me. What version of what compiler compiles the existing code?
     

Share This Page