Search:

Type: Posts; User: laserlight

Search: Search took 1.99 seconds.

  1. Replies
    6
    Views
    1,271

    Well, if the values are of a floating point type,...

    Well, if the values are of a floating point type, then yeah, there would be a problem with those expressions since they won't be using integer division. But if they are of an integer type, then there...
  2. Replies
    6
    Views
    1,271

    Looking at the pattern, I'd say that for...

    Looking at the pattern, I'd say that for m[i][j][k] with value n:
    i = (n - 1) / 9
    j = ((n - 1) / 3) % 3
    k = (n - 1) % 3
Results 1 to 2 of 2