emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using the GNU GMP Library for Bignums in Emacs


From: Richard Stallman
Subject: Re: Using the GNU GMP Library for Bignums in Emacs
Date: Sun, 22 Apr 2018 23:39:28 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > The usual approach for this is to format negative numbers with a leading 
minus 
  > sign, so that (format "%x" -1) returns "-1". This is what Emac Lisp should 
have

I think that change is likely to break things.  If you WANT a hex
string, you probably want it to be all hex, regardless of value.

I would expect that each use of %x probably has a certain number of bits
in mind.  Perhaps %x should take a number of bits and output modularly.
So %24x would output 24 bits' worth.  Always unsigned.




-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
Skype: No way! See https://stallman.org/skype.html.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]