[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-devel
Subject: Why is mp_size_t signed?
From: tg () swox ! com (Torbjorn Granlund)
Date: 2004-02-02 22:50:15
Message-ID: 86hdy9b17t.fsf () king ! swox ! se
[Download RAW message or body]
Brian Hurt <bhurt@spnz.org> writes:
Stupid question: Why is mp_size_t a *signed* integer?
Because that simplifies and speeds code. The unsigned size_t
is the root of countless bugs where calculations
yield a negative number.
--
Torbj?rn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic