/* 
 * Copyright (c) 2017, NVIDIA CORPORATION.  All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

#define EXP_HI       88.7228390521f
#define EXP_DN      -87.3365447506f
#define EXP_PDN      87.3365402f
#define EXP_LO      -104.66522216796875f
#define FLT2INT_CVT  12582912.0f
#define L2E          1.4426950408889634e+0f
#define DNRM_THR    -1048576000 //-125 
#define EXP_BIAS     1065353216 // 127
#define DNRM_SHFT    2113929216
#define MASK         0x7FFFFFFF
#define INF          0x7F800000
#define LN2_0        0x1.62E43p-01
#define LN2_1       -0x1.05C61p-29
#define EXP_C0       1.0f              
#define EXP_C1       1.0f              
#define EXP_C2       5.0000001201E-1f
#define EXP_C3       1.6666665459E-1f
#define EXP_C4       4.1665795894E-2f
#define EXP_C5       8.3334519073E-3f
#define EXP_C6       1.3981999507E-3f
#define EXP_C7       1.9875691500E-4f
