Commit 47f54330 authored by mvstanton's avatar mvstanton Committed by Commit bot

Removed fdlibm.js, as it is now an empty shell.

BUG=

Review-Url: https://codereview.chromium.org/2106413002
Cr-Commit-Position: refs/heads/master@{#37510}
parent 12291c54
Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
Developed at SunSoft, a Sun Microsystems, Inc. business.
Permission to use, copy, modify, and distribute this
software is freely granted, provided that this notice
is preserved.
Name: Freely Distributable LIBM
Short Name: fdlibm
URL: http://www.netlib.org/fdlibm/
Version: 5.3
License: Freely Distributable.
License File: LICENSE.
Security Critical: yes.
License Android Compatible: yes.
Description:
This is used to provide a accurate implementation for trigonometric functions
used in V8.
Local Modifications:
For the use in V8, fdlibm has been reduced to include only sine, cosine and
tangent. To make inlining into generated code possible, a large portion of
that has been translated to Javascript. The rest remains in C, but has been
refactored and reformatted to interoperate with the rest of V8.
// The following is adapted from fdlibm (http://www.netlib.org/fdlibm),
//
// ====================================================
// Copyright (C) 1993-2004 by Sun Microsystems, Inc. All rights reserved.
//
// Developed at SunSoft, a Sun Microsystems, Inc. business.
// Permission to use, copy, modify, and distribute this
// software is freely granted, provided that this notice
// is preserved.
// ====================================================
//
// The original source code covered by the above license above has been
// modified significantly by Google Inc.
// Copyright 2014 the V8 project authors. All rights reserved.
//
// The following is a straightforward translation of fdlibm routines
// by Raymond Toy (rtoy@google.com).
(function(global, utils) {
"use strict";
%CheckIsBootstrapping();
// -------------------------------------------------------------------
// Imports
var GlobalMath = global.Math;
utils.Import(function(from) {});
//-------------------------------------------------------------------
utils.InstallFunctions(GlobalMath, DONT_ENUM, []);
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment