Search:

Type: Posts; User: itCbitC

Search: Search took 0.03 seconds.

  1. Hmm! you are right and I wonder WTH I was...

    Hmm! you are right and I wonder WTH I was thinking of, albeit alignment and indirection can be eliminated by unionizing an 8 byte char array and a double.
  2. Good point! @OP: Based on Salem's comment,...

    Good point!

    @OP:
    Based on Salem's comment, explicitly specify a #pragma pack(8) directive to ensure proper alignment.
  3. Yep, just point a double* to the base of the 8...

    Yep, just point a double* to the base of the 8 byte char array and dereference it.
Results 1 to 3 of 3