HScallop

@HScallop

Joined on May 24, 2021

  • contributed by < HScallop > 作業說明與要求 K01: lab0 實驗環境 $ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
     Like  Bookmark
  • quiz8 測驗 1 #include <stddef.h> #include <stdint.h> #include <limits.h> #include <string.h> /* Nonzero if either X or Y is not aligned on a "long" boundary */ #define UNALIGNED(X) ((long) X & (sizeof(long) - 1))
     Like  Bookmark
  • contributed by <HScallop> 2022q1 quiz2 測驗 1 #include <stdint.h> uint32_t average(uint32_t a, uint32_t b) { return (a >> 1) + (b >> 1) + (EXP1); }
     Like  Bookmark