Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
fp_arith.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /*
- fp_arith.h: floating-point math routines for the Linux-m68k
- floating point emulator.
- Copyright (c) 1998 David Huggins-Daines.
- Somewhat based on the AlphaLinux floating point emulator, by David
- Mosberger-Tang.
- You may copy, modify, and redistribute this file under the terms of
- the GNU General Public License, version 2, or any later version, at
- your convenience.
- */
- #ifndef FP_ARITH_H
- #define FP_ARITH_H
- /* easy ones */
- struct fp_ext *
- fp_fabs(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fneg(struct fp_ext *dest, struct fp_ext *src);
- /* straightforward arithmetic */
- struct fp_ext *
- fp_fadd(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fsub(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fcmp(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_ftst(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fmul(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fdiv(struct fp_ext *dest, struct fp_ext *src);
- /* ones that do rounding and integer conversions */
- struct fp_ext *
- fp_fmod(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_frem(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fint(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fintrz(struct fp_ext *dest, struct fp_ext *src);
- struct fp_ext *
- fp_fscale(struct fp_ext *dest, struct fp_ext *src);
- #endif /* FP_ARITH__H */