File: signbit.3

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (38 lines) | stat: -rw-r--r-- 1,080 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\" Based on glibc infopages
.\"
.\" Japanese Version Copyright (c) 2002 Akihiro MOTOKI
.\"         all rights reserved.
.\" Translated Sun Sep 22 09:46:55 2002
.\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
.\"
.TH SIGNBIT 3 2002-08-10 "GNU" "Linux Programmer's Manual"
.SH ̾
signbit \- ư¿ (sign) Ĵ٤
.SH 
.B "#include <math.h>"
.sp
.BI  "int signbit(" x ");"
.sp
\fI\-std=c99\fP ǥѥ뤷\fI\-lm\fP ǥ󥯤롣
.SH 
.BR signbit ()
ϡư¿Ф
ŬѲǽŪʥޥǤ롣
.I x
ͤӥåȤåȤƤ硢 0 ֤ͤ
.PP
Υޥ
.I "x < 0.0"
ƱǤϤʤ
ʤʤ顢IEEE 754 ưɽǤ 0 ĤǤ롣
.I "-0.0 < 0.0"
Ȥӷ̤ϵ (false) 
.IR "signbit (\-0.0)"
  0 ֤ͤ
.SH 
C99. δؿ IEC 559 Ƥ
(ޤ IEEE 754/IEEE 854 ǤϿǿ侩ؿȤƤ)
.SH Ϣ
.BR copysign (3)