// origin: FreeBSD /usr/src/lib/msun/src/k_cos.c
//
// ====================================================
// Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
//
// Developed at SunSoft, a Sun Microsystems, Inc. business.
// Permission to use, copy, modify, and distribute this
// software is freely granted, provided that this notice
// is preserved.
// ====================================================
use crateReal;
const C1: Real = 4.16666666666666019037e-02; /* 0x3FA55555, 0x5555554C */
const C2: Real = -1.38888888888741095749e-03; /* 0xBF56C16C, 0x16C15177 */
const C3: Real = 2.48015872894767294178e-05; /* 0x3EFA01A0, 0x19CB1590 */
const C4: Real = -2.75573143513906633035e-07; /* 0xBE927E4F, 0x809C52AD */
const C5: Real = 2.08757232129817482790e-09; /* 0x3E21EE9E, 0xBDB4B1C4 */
const C6: Real = -1.13596475577881948265e-11; /* 0xBDA8FAE9, 0xBE8838D4 */
/// Kernel cos function on [-pi/4, pi/4].
pub const