/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef builtin_Math_h #define builtin_Math_h
#include <stdint.h>
#include"NamespaceImports.h"
namespace js {
using UnaryMathFunctionType = double (*)(double);
// Used for inlining calls to double => double Math functions from JIT code. // Note that this list does not include all unary Math functions: abs and sqrt // for example are missing because the JITs optimize them without a C++ call. enumclass UnaryMathFunction : uint8_t {
SinNative,
SinFdlibm,
CosNative,
CosFdlibm,
TanNative,
TanFdlibm,
Log,
Exp,
ACos,
ASin,
ATan,
Log10,
Log2,
Log1P,
ExpM1,
CosH,
SinH,
TanH,
ACosH,
ASinH,
ATanH,
Trunc,
Cbrt,
Floor,
Ceil,
Round,
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.