/* Copyright (C) 1988-1994 Sun Microsystems, Inc. 2550 Garcia Avenue */ /* Mountain View, California 94043 All rights reserved. */ /* */ /* Any person is hereby authorized to download, copy, use, create bug fixes, */ /* and distribute, subject to the following conditions: */ /* */ /* 1. the software may not be redistributed for a fee except as */ /* reasonable to cover media costs; */ /* 2. any copy of the software must include this notice, as well as */ /* any other embedded copyright notices; and */ /* 3. any distribution of this software or derivative works thereof */ /* must comply with all applicable U.S. export control laws. */ /* */ /* THE SOFTWARE IS MADE AVAILABLE "AS IS" AND WITHOUT EXPRESS OR IMPLIED */ /* WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO THE IMPLIED */ /* WARRANTIES OF DESIGN, MERCHANTIBILITY, FITNESS FOR A PARTICULAR */ /* PURPOSE, NON-INFRINGEMENT, PERFORMANCE OR CONFORMANCE TO */ /* SPECIFICATIONS. */ /* */ /* BY DOWNLOADING AND/OR USING THIS SOFTWARE, THE USER WAIVES ALL CLAIMS */ /* AGAINST SUN MICROSYSTEMS, INC. AND ITS AFFILIATED COMPANIES IN ANY */ /* JURISDICTION, INCLUDING BUT NOT LIMITED TO CLAIMS FOR DAMAGES OR */ /* EQUITABLE RELIEF BASED ON LOSS OF DATA, AND SPECIFICALLY WAIVES EVEN */ /* UNKNOWN OR UNANTICIPATED CLAIMS OR LOSSES, PRESENT AND FUTURE. */ /* */ /* IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS AFFILIATED */ /* COMPANIES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, */ /* INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF IT HAS BEEN ADVISED OF THE */ /* POSSIBILITY OF SUCH DAMAGES. */ /* */ /* This file is provided with no support and without any obligation on the */ /* part of Sun Microsystems, Inc. ("Sun") or any of its affiliated */ /* companies to assist in its use, correction, modification or */ /* enhancement. Nevertheless, and without creating any obligation on its */ /* part, Sun welcomes your comments concerning the software and requests */ /* that they be sent to fdlibm-comments@sunpro.sun.com. */ /* tans(+-max) */ tans n le x 7f7fffff 7f800000 tans n ge x 7f7fffff ff800000 tans z le x 7f7fffff 7f800000 tans z ge x 7f7fffff ff800000 tans p le x 7f7fffff 7f800000 tans p ge x 7f7fffff ff800000 tans m le x 7f7fffff 7f800000 tans m ge x 7f7fffff ff800000 /* tans(tiny) is tiny */ tans n eq x 31000000 31000000 tans n eq x b1000000 b1000000 tans n eq x 00800000 00800000 tans n eq x 80800000 80800000 tans n eq x 1 1 tans n eq x 80000001 80000001 /* tans(+-0) is +-0.0 */ tans n eq - 0 0 tans n eq - 80000000 80000000 tans z eq - 0 0 tans z eq - 80000000 80000000 tans p eq - 0 0 tans p eq - 80000000 80000000 tans m eq - 0 0 tans m eq - 80000000 80000000 /* tans(nan or inf) is nan */ tans n uo v 7f800000 0 tans n uo v ff800000 0 tans n uo v 7f800001 0 tans n uo v ff800001 0 tans n uo - 7fc00000 0 tans m eq x 00800000 00800000 tans m eq x 00800001 00800001 tans m eq x 00800002 00800002 tans m eq x 00fffffb 00fffffb tans m eq x 01000000 01000000 tans m eq x 01000003 01000003 tans m eq x 01800000 01800000 tans m eq x 32400000 32400000 tans m eq x 32800000 32800000 tans m eq x 39800000 39800000 tans m eq x?u 00000001 00000001 tans m eq x?u 00000002 00000002 tans m eq x?u 00000009 00000009 tans m eq x?u 00200000 00200000 tans m eq x?u 00400000 00400000 tans m eq x?u 007ffffe 007ffffe tans m eq x?u 007fffff 007fffff tans m uo - 7fff0000 7fff0000 tans m uo - ffff0000 ffff0000 tans m uo v 7f800000 7fff0000 tans m uo v 7f810000 7fff0000 tans m uo v ff800000 7fff0000 tans m uo v ff810000 ffff0000 tans m vn x 80800000 80800000 tans m vn x 80800001 80800001 tans m vn x 80800002 80800002 tans m vn x 81000000 81000000 tans m vn x 81800000 81800000 tans m vn x b2400000 b2400000 tans m vn x b2800000 b2800000 tans m vn x b9800000 b9800000 tans m vn x?u 80000001 80000001 tans m vn x?u 80000002 80000002 tans m vn x?u 80200000 80200000 tans m vn x?u 80400000 80400000 tans m vn x?u 807ffffe 807ffffe tans m vn x?u 807fffff 807fffff tans n eq x 00800001 00800001 tans n eq x 00800002 00800002 tans n eq x 00fffffb 00fffffb tans n eq x 01000000 01000000 tans n eq x 01000003 01000003 tans n eq x 01800000 01800000 tans n eq x 32400000 32400000 tans n eq x 32800000 32800000 tans n eq x 39800000 39800000 tans n eq x 80800001 80800001 tans n eq x 80800002 80800002 tans n eq x 80fffffb 80fffffb tans n eq x 81000000 81000000 tans n eq x 81000003 81000003 tans n eq x 81800000 81800000 tans n eq x b2400000 b2400000 tans n eq x b2800000 b2800000 tans n eq x b9800000 b9800000 tans n eq x?u 00000002 00000002 tans n eq x?u 00000009 00000009 tans n eq x?u 00200000 00200000 tans n eq x?u 00400000 00400000 tans n eq x?u 007ffffe 007ffffe tans n eq x?u 007fffff 007fffff tans n eq x?u 80000002 80000002 tans n eq x?u 80000009 80000009 tans n eq x?u 80200000 80200000 tans n eq x?u 80400000 80400000 tans n eq x?u 807ffffe 807ffffe tans n eq x?u 807fffff 807fffff tans n uo - 7fc00000 00000000 tans n uo - 7fff0000 7fff0000 tans n uo - ffff0000 ffff0000 tans n uo v 7f800000 00000000 tans n uo v 7f800001 00000000 tans n uo v 7f810000 7fff0000 tans n uo v ff800000 00000000 tans n uo v ff800001 00000000 tans n uo v ff810000 ffff0000 tans p eq x 80800000 80800000 tans p eq x 80800001 80800001 tans p eq x 80800002 80800002 tans p eq x 80fffffb 80fffffb tans p eq x 81000000 81000000 tans p eq x 81000003 81000003 tans p eq x 81800000 81800000 tans p eq x b2400000 b2400000 tans p eq x b2800000 b2800000 tans p eq x b9800000 b9800000 tans p eq x?u 80000001 80000001 tans p eq x?u 80000002 80000002 tans p eq x?u 80000009 80000009 tans p eq x?u 80200000 80200000 tans p eq x?u 80400000 80400000 tans p eq x?u 807ffffe 807ffffe tans p eq x?u 807fffff 807fffff tans p uo - 7fff0000 7fff0000 tans p uo - ffff0000 ffff0000 tans p uo v 7f800000 7fff0000 tans p uo v 7f810000 7fff0000 tans p uo v ff800000 7fff0000 tans p uo v ff810000 ffff0000 tans p vn x 00800000 00800000 tans p vn x 00800001 00800001 tans p vn x 00800002 00800002 tans p vn x 01000000 01000000 tans p vn x 01800000 01800000 tans p vn x 32400000 32400000 tans p vn x 32800000 32800000 tans p vn x 39800000 39800000 tans p vn x?u 00000001 00000001 tans p vn x?u 00000002 00000002 tans p vn x?u 00200000 00200000 tans p vn x?u 00400000 00400000 tans p vn x?u 007ffffe 007ffffe tans p vn x?u 007fffff 007fffff tans z eq x 00800000 00800000 tans z eq x 00800001 00800001 tans z eq x 00800002 00800002 tans z eq x 00fffffb 00fffffb tans z eq x 01000000 01000000 tans z eq x 01000003 01000003 tans z eq x 01800000 01800000 tans z eq x 32400000 32400000 tans z eq x 32800000 32800000 tans z eq x 39800000 39800000 tans z eq x 80800000 80800000 tans z eq x 80800001 80800001 tans z eq x 80800002 80800002 tans z eq x 80fffffb 80fffffb tans z eq x 81000000 81000000 tans z eq x 81000003 81000003 tans z eq x 81800000 81800000 tans z eq x b2400000 b2400000 tans z eq x b2800000 b2800000 tans z eq x b9800000 b9800000 tans z eq x?u 00000001 00000001 tans z eq x?u 00000002 00000002 tans z eq x?u 00000009 00000009 tans z eq x?u 00200000 00200000 tans z eq x?u 00400000 00400000 tans z eq x?u 007ffffe 007ffffe tans z eq x?u 007fffff 007fffff tans z eq x?u 80000001 80000001 tans z eq x?u 80000002 80000002 tans z eq x?u 80000009 80000009 tans z eq x?u 80200000 80200000 tans z eq x?u 80400000 80400000 tans z eq x?u 807ffffe 807ffffe tans z eq x?u 807fffff 807fffff tans z uo - 7fff0000 7fff0000 tans z uo - ffff0000 ffff0000 tans z uo v 7f800000 7fff0000 tans z uo v 7f810000 7fff0000 tans z uo v ff800000 7fff0000 tans z uo v ff810000 ffff0000