[tor-bugs] #18706 [Tor]: tor-0.2.8.2-alpha, undefined symbolo "signbit" when compiling for Solaris10
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Apr 3 12:06:51 UTC 2016
#18706: tor-0.2.8.2-alpha, undefined symbolo "signbit" when compiling for
Solaris10
-------------------------------------------------+-------------------------
Reporter: RainerSchmidt | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Tor | Version: Tor:
Severity: Normal | 0.2.8.2-alpha
Keywords: undefined symbolo signbit | Resolution:
regression | Actual Points:
Parent ID: | Points: small
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by RainerSchmidt):
Solaris10 has a signbit(), see included man page.
But I found some comments via google that the implementation is wrong,
search for:
signbit solaris
Thanks.
Rainer
man page for signbit:
-------------------------------------------------------------------------------------------------------
Mathematical Library Functions signbit(3M)
NAME
signbit - test sign
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ]#include <math.h>
int signbit(real-floating x);
DESCRIPTION
The signbit() macro determines whether the sign of its argu-ment value
is negative. NaNs, zeros, and infinities have asign bit.
RETURN VALUES
The signbit() macro returns a non-zero value if and only ifthe sign of
its argument value is negative.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-butes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_|_
|| Interface Stability | Standard || _|_ || MT-Level
| MT-Safe || _|_| ||
SEE ALSO
fpclassify(3M), isfinite(3M), isinf(3M),
isnan(3M),isnormal(3M), math.h(3HEAD), attributes(5), standards(5)
SunOS 5.10 Last change: 12 Jul 2006
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18706#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list