mirror of
https://github.com/google/pebble.git
synced 2025-09-06 21:25:56 -04:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-001.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-001.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(isNaN(Math.pow(2, "NaN", 5)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-002.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-002.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(Math.pow(2, +0, 5, "qeqegfhb") === 1);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-003.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-003.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(NaN, +0, 5, "qeqegfhb") === 1);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-004.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-004.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow("qeqegfhb", -0) === 1);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-005.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-005.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (isNaN(Math.pow("qeqegfhb", 1)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-006.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-006.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(5, Infinity) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-007.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-007.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(5, -Infinity) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-008.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-008.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(-5, -Infinity) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-009.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-009.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(Math.pow(-5, Infinity) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-010.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-010.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(isNaN(Math.pow(1, Infinity)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-011.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-011.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (isNaN(Math.pow(-1, Infinity)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-012.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-012.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (isNaN(Math.pow(-1, -Infinity)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-013.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-013.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(isNaN(Math.pow(1, -Infinity)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-014.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-014.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(1 / Math.pow(0.3, Infinity) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-015.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-015.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(-0.3, -Infinity) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-016.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-016.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(Infinity, 3) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-017.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-017.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(Infinity, -3) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-018.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-018.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(-Infinity, 6) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-019.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-019.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(-Infinity, 5) === -Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-020.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-020.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(-Infinity, -6) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-021.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-021.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(-Infinity, -5) === -Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-022.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-022.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(+0, 5.2) === Infinity);
|
16
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-023.js
vendored
Normal file
16
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-023.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(Math.pow(+0, -5.2) === Infinity);
|
||||
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-024.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-024.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(-0, 12) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-025.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-025.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (1/Math.pow(-0, 7) === -Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-026.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-026.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(-0, -100) === Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-027.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-027.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(-0, -1) === -Infinity);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-028.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-028.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(isNaN(Math.pow(-174, 1.78)));
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-029.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-029.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow(2,2) === 4);
|
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-030.js
vendored
Normal file
15
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-030.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2014 Samsung Electronics Co., Ltd.
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert (Math.pow("2 ","2.0") === 4);
|
16
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-031.js
vendored
Normal file
16
third_party/jerryscript/tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.13/15.08.02.13-031.js
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2016 Samsung Electronics Co., Ltd.
|
||||
// Copyright 2016 University of Szeged
|
||||
//
|
||||
// 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.
|
||||
|
||||
assert(isNaN(Math.pow(1, NaN)));
|
Loading…
Add table
Add a link
Reference in a new issue