Bug 52882

Summary: fpsetprec/fp_prec_t unsupported on alpha?
Product: Base System Reporter: stolz <stolz>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.8-STABLE   
Hardware: Any   
OS: Any   

Description stolz 2003-06-03 07:40:18 UTC
fpsetprec(3) says that I can find it in ieeefp.h (which is machine specific).
It's there for i386, but alpha (and sparc64) lacks the function and the enum.
Is this simply missing or not supported at all? If not, this should be documented
in the man page. [Applies to -CURRENT as well]

How-To-Repeat: Build graphics/gts on -alpha or see bento's log at:
http://bento.freebsd.org/errorlogs/alpha-5-latest/gts-0.7.1.log
predicates_init.c: In function `main':
predicates_init.c:46: implicit declaration of function `fpsetprec'
predicates_init.c:46: `FP_PD' undeclared (first use in this function)
predicates_init.c:46: (Each undeclared identifier is reported only once
predicates_init.c:46: for each function it appears in.)
predicates_init.c:105: `FP_PE' undeclared (first use in this function)
Comment 1 David Schultz freebsd_committer freebsd_triage 2004-05-05 10:53:37 UTC
State Changed
From-To: open->closed

The functionality provided by fpsetprec() is not available 
on alpha or sparc64.  I have documented this fact in the 
manpage.