2021-05-20 10:49:33 +00:00
|
|
|
// Copyright 2009-2021 Intel Corporation
|
2020-12-19 13:50:20 +00:00
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
#include "constants.h"
|
|
|
|
|
|
|
|
namespace embree
|
|
|
|
{
|
|
|
|
TrueTy True;
|
|
|
|
FalseTy False;
|
|
|
|
ZeroTy zero;
|
|
|
|
OneTy one;
|
|
|
|
NegInfTy neg_inf;
|
|
|
|
PosInfTy inf;
|
|
|
|
PosInfTy pos_inf;
|
|
|
|
NaNTy nan;
|
|
|
|
UlpTy ulp;
|
|
|
|
PiTy pi;
|
|
|
|
OneOverPiTy one_over_pi;
|
|
|
|
TwoPiTy two_pi;
|
|
|
|
OneOverTwoPiTy one_over_two_pi;
|
|
|
|
FourPiTy four_pi;
|
|
|
|
OneOverFourPiTy one_over_four_pi;
|
|
|
|
StepTy step;
|
|
|
|
ReverseStepTy reverse_step;
|
|
|
|
EmptyTy empty;
|
|
|
|
UndefinedTy undefined;
|
|
|
|
}
|