DriveHQ Start Menu
Cloud Drive Mapping
Folder Sync
Cloud Backup
True Drop Box
FTP/SFTP Hosting
Group Account
DriveHQ Start Menu
Online File Server
My Storage
|
Manage Shares
|
Publishes
|
Drop Boxes
|
Group Account
WebDAV Drive Mapping
Cloud Drive Home
|
WebDAV Guide
|
Drive Mapping Tool
|
Drive Mapping URL
Complete Data Backup
Backup Guide
|
Online Backup Tool
|
Cloud-to-Cloud Backup
FTP, Email & Web Service
FTP Home
|
FTP Hosting FAQ
|
Email Hosting
|
EmailManager
|
Web Hosting
Help & Resources
About
|
Enterprise Service
|
Partnership
|
Comparisons
|
Support
Quick Links
Security and Privacy
Download Software
Service Manual
Use Cases
Group Account
Online Help
Blog
Contact
Cloud Surveillance
Sign Up
Login
Features
Business Features
Online File Server
FTP Hosting
Cloud Drive Mapping
Cloud File Backup
Email Backup & Hosting
Cloud File Sharing
Folder Synchronization
Group Management
True Drop Box
Full-text Search
AD Integration/SSO
Mobile Access
IP Camera & DVR Solution
More...
Personal Features
Personal Cloud Drive
Backup All Devices
Mobile APPs
Personal Web Hosting
Sub-Account (for Kids)
Home/PC/Kids Monitoring
More...
Software
DriveHQ Drive Mapping Tool
DriveHQ FileManager
DriveHQ Online Backup
DriveHQ Mobile Apps
Pricing
Business Plans & Pricing
Personal Plans & Pricing
Price Comparison with Others
Feature Comparison with Others
Install Mobile App
Sign up
Creating account...
Invalid character in username! Only 0-9, a-z, A-Z, _, -, . allowed.
Username is required!
Invalid email address!
E-mail is required!
Password is required!
Password is invalid!
Password and confirmation do not match.
Confirm password is required!
I accept
Membership Agreement
Please read the Membership Agreement and check "I accept"!
Free Quick Sign-up
Sign-up Page
Log in
Signing in...
Username or e-mail address is required!
Password is required!
Keep me logged in
Quick Login
Forgot Password
Up
Upload
Download
Share
Publish
New Folder
New File
Copy
Cut
Delete
Paste
Rate
Upgrade
Rotate
Effect
Edit
Slide
History
// (C) Copyright John Maddock 2005. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_MATH_COMPLEX_DETAILS_INCLUDED #define BOOST_MATH_COMPLEX_DETAILS_INCLUDED // // This header contains all the support code that is common to the // inverse trig complex functions, it also contains all the includes // that we need to implement all these functions. // #include
#include
#include
#include
#include
// isnan where available #include
#ifdef BOOST_NO_STDC_NAMESPACE namespace std{ using ::sqrt; } #endif namespace boost{ namespace math{ namespace detail{ template
inline bool test_is_nan(T t) { // Comparisons with Nan's always fail: return std::numeric_limits
::has_infinity && (!(t <= std::numeric_limits
::infinity()) || !(t >= -std::numeric_limits
::infinity())); } #ifdef isnan template<> inline bool test_is_nan
(float t) { return isnan(t); } template<> inline bool test_is_nan
(double t) { return isnan(t); } template<> inline bool test_is_nan
(long double t) { return isnan(t); } #endif template
inline T mult_minus_one(const T& t) { return test_is_nan(t) ? t : -t; } template
inline std::complex
mult_i(const std::complex
& t) { return std::complex
(mult_minus_one(t.imag()), t.real()); } template
inline std::complex
mult_minus_i(const std::complex
& t) { return std::complex
(t.imag(), mult_minus_one(t.real())); } template
inline T safe_max(T t) { return std::sqrt((std::numeric_limits
::max)()) / t; } inline long double safe_max(long double t) { // long double sqrt often returns infinity due to // insufficient internal precision: return std::sqrt((std::numeric_limits
::max)()) / t; } #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) // workaround for type deduction bug: inline float safe_max(float t) { return std::sqrt((std::numeric_limits
::max)()) / t; } inline double safe_max(double t) { return std::sqrt((std::numeric_limits
::max)()) / t; } #endif template
inline T safe_min(T t) { return std::sqrt((std::numeric_limits
::min)()) * t; } inline long double safe_min(long double t) { // long double sqrt often returns zero due to // insufficient internal precision: return std::sqrt((std::numeric_limits
::min)()) * t; } #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) // type deduction workaround: inline double safe_min(double t) { return std::sqrt((std::numeric_limits
::min)()) * t; } inline float safe_min(float t) { return std::sqrt((std::numeric_limits
::min)()) * t; } #endif } } } // namespaces #endif // BOOST_MATH_COMPLEX_DETAILS_INCLUDED
details.hpp
Page URL
File URL
Prev
7/8
Next
Download
( 3 KB )
Note: The DriveHQ service banners will NOT be displayed if the file owner is a paid member.
Comments
Total ratings:
0
Average rating:
Not Rated
Would you like to comment?
Join DriveHQ
for a free account, or
Logon
if you are already a member.