64/96/128-Bit Unsigned Integer Math

64/96/128-Bit Unsigned Integer Math Functions

Share this object
<

Overview

  • Object ID : 5189 (2025-03-12 21:14:04)
  • Author : Chip Gracey
  • Content :
  • Microcontroller :
  • Language :
  • Category :
  • Licence :

Content

These three objects provide the following unsigned functions for 64, 96, and 128-bit integers:

NEGQ() - negate
ADDQ() - add
SUBQ() - subtract
CMPQ() - compare
MAGQ() - magnitude
SHLQ() - shift left
SHRQ() - shift right
MULQ() - multiply
DIVQ() - divide
LOGQ() - log2
EXPQ() - exp2
LongLSB() - extract long via LSB
LongMSB() - extract long via MSB
LongSHL() - left-shift long to make 64/96/128-bit value


Downloads  
Zip archive download

Leave a Reply