1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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