| 6433 | |
| 6434 | #ifdef DEBUG_INDEXKEY |
| 6435 | static void print_int64_key(SINT64 value, SSHORT scale, INT64_KEY key) |
| 6436 | { |
| 6437 | /************************************** |
| 6438 | * |
| 6439 | * p r i n t _ i n t 6 4 _ k e y |
| 6440 | * |
| 6441 | ************************************** |
| 6442 | * |
| 6443 | * Functional description |
| 6444 | * Debugging function to print a key created out of an int64 |
| 6445 | * quantify. |
| 6446 | * |
| 6447 | **************************************/ |
| 6448 | fprintf(stderr, "%20" QUADFORMAT"d %4d %.15e %6d ", value, scale, key.d_part, key.s_part); |
| 6449 | |
| 6450 | const UCHAR* p = (UCHAR*) &key; |
| 6451 | for (int n = 10; n--; n > 0) |
| 6452 | fprintf(stderr, "%02x ", *p++); |
| 6453 | |
| 6454 | fprintf(stderr, "\n"); |
| 6455 | return; |
| 6456 | } |
| 6457 | #endif // DEBUG_INDEXKEY |
| 6458 | |
| 6459 | |