Reactos
1//
2// fp_flags.cpp
3//
4// Copyright (c) Microsoft Corporation. All rights reserved.
5//
6// Public data used by the floating point library
7//
8
9extern "C" { int __fastflag{0}; }
10
11
12
13// Routine to set the fast flag in order to speed up computation
14// of transcendentals at the expense of limiting error checking
15extern "C" int __cdecl __setfflag(int const new_flag)
16{
17 int const old_flag = __fastflag;
18 __fastflag = new_flag;
19 return old_flag;
20}