Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
BN_SET_NEGATIVE(3)	 BSD Library Functions Manual	    BN_SET_NEGATIVE(3)

NAME
     BN_set_negative, BN_is_negative --	change and inspect the sign of a
     BIGNUM

SYNOPSIS
     void
     BN_set_negative(BIGNUM *b,	int n);

     int
     BN_is_negative(const BIGNUM *b);

DESCRIPTION
     BN_set_negative() sets b to negative if both b and	n are non-zero,	other-
     wise it sets it to	positive.

     BN_is_negative() tests the	sign of	b.  It is currently implemented	as a
     macro.

RETURN VALUES
     BN_is_negative() returns 1	if b is	negative or 0 otherwise.

SEE ALSO
     BN_add(3),	BN_new(3), BN_set_bit(3), BN_zero(3)

BSD			       December	10, 2016			   BSD

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=BN_set_negative&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help