Home Reference Source

packages/remote-environment/src/es6/Math.js

/**
 * Copyright 2017 Moshe Simantov
 *
 * 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.
 */

/* eslint-disable prettier/prettier */
/* eslint-disable no-restricted-properties */

export default {
  'Math': Math,
  'Math.abs': Math.abs,
  'Math.acos': Math.acos,
  'Math.acosh': Math.acosh,
  'Math.asin': Math.asin,
  'Math.asinh': Math.asinh,
  'Math.atan': Math.atan,
  'Math.atan2': Math.atan2,
  'Math.atanh': Math.atanh,
  'Math.cbrt': Math.cbrt,
  'Math.ceil': Math.ceil,
  'Math.clz32': Math.clz32,
  'Math.cos': Math.cos,
  'Math.cosh': Math.cosh,
  'Math.exp': Math.exp,
  'Math.expm1': Math.expm1,
  'Math.floor': Math.floor,
  'Math.fround': Math.fround,
  'Math.hypot': Math.hypot,
  'Math.imul': Math.imul,
  'Math.log': Math.log,
  'Math.log10': Math.log10,
  'Math.log1p': Math.log1p,
  'Math.log2': Math.log2,
  'Math.max': Math.max,
  'Math.min': Math.min,
  'Math.pow': Math.pow,
  'Math.random': Math.random,
  'Math.round': Math.round,
  'Math.sign': Math.sign,
  'Math.sin': Math.sin,
  'Math.sinh': Math.sinh,
  'Math.sqrt': Math.sqrt,
  'Math.tan': Math.tan,
  'Math.tanh': Math.tanh,
  'Math.trunc': Math.trunc,
};