V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
codegen.h
1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef V8_CODEGEN_H_
6 #define V8_CODEGEN_H_
7 
8 namespace v8 {
9 namespace internal {
10 
11 // Results of the library implementation of transcendental functions may differ
12 // from the one we use in our generated code. Therefore we use the same
13 // generated code both in runtime and compiled code.
14 typedef double (*UnaryMathFunction)(double x);
15 
16 UnaryMathFunction CreateSqrtFunction();
17 
18 // Custom implementation of math functions.
19 double fast_sqrt(double input);
20 void lazily_initialize_fast_sqrt();
21 
22 } // namespace internal
23 } // namespace v8
24 
25 #endif // V8_CODEGEN_H_
Definition: libplatform.h:13