]> Zhao Yanbai Git Server - minix.git/commit
neg64() makes a 64bit integer negative
authorTomas Hruby <tom@minix3.org>
Thu, 23 Sep 2010 14:42:26 +0000 (14:42 +0000)
committerTomas Hruby <tom@minix3.org>
Thu, 23 Sep 2010 14:42:26 +0000 (14:42 +0000)
commit274fcf8d1f9b0b7115bf3a7c02c9081581fa18a7
treeb7b3f4f94d0339da74541f7499f7311e47fa03d1
parent8eece1c00cda2275d6184f6c96844f9b2e8c3181
neg64() makes a 64bit integer negative

- neg64(a) == -a

- although we only support 64 bit unsigned arithmetics sometimes it's good to
  have a 2-complement negative number
include/minix/u64.h