Bill Allombert on Thu, 14 Dec 2017 21:07:28 +0100


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

Re: RFE: _==_ and friends should return a boolean


On Thu, Dec 14, 2017 at 02:57:31PM -0500, Sam Steingold wrote:
> Hi,
> 
> pari.desc says:
> 
> --8<---------------cut here---------------start------------->8---
> Function: _==_
> Class: basic
> Section: symbolic_operators
> C-Name: geq
> Prototype: GG
> Help: _==_
> --8<---------------cut here---------------end--------------->8---
> 
> It would be nice if it returned a boolean (or at least a C int) rather
> than a GEN object.  I know the "Prototype" does not have a "b"
> character, but maybe you could add it?

"geq" is a traditional GP wrapper around the C library function "gequal".
(Probably added before the prototype code system was implemented.)

Cheers,
Bill.