Search:

Type: Posts; User: 00hubblemp

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,966

    i need to do this: static const double SCALE =...

    i need to do this:

    static const double SCALE = 2.0 / VALUE;

    where value is the variable i need to calculate with the sizeof. So I can fill half of VALUE with type long, and all of VALUE with...
  2. Replies
    5
    Views
    2,966

    Bit Setting for long long

    I'm trying to write an expression in a single line that can do the following:

    take the sizeof(type), then fill a long long variable with 1's for the amount of bytes given by the sizeof.

    For...
Results 1 to 2 of 2