| /* |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you 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. |
| */ |
| |
| // floating-points |
| |
| use test; |
| |
| { |
| "t1": {"c": "[0,1] = [double('0'), float('1')]", "r":[0,1] = [double('0'), float('1')]}, |
| "t2": {"c": "[-0, -1] = [float('-0'), -1]", "r": [-0, -1] = [float('-0'), -1]}, |
| |
| "t3": {"c":"[double('INF')] > [0]", "r":[double('INF')] > [0]}, |
| "t4": {"c":"[double('-INF')] < [0]", "r":[double('-INF')] < [0]}, |
| "t5": {"c":"[double('INF')] > [-0]", "r":[double('INF')] > [-0]}, |
| "t6": {"c":"[double('-INF')] < [-0]", "r":[double('-INF')] < [-0]}, |
| "t7": {"c":"[double('INF')] > [double('-0')]", "r":[double('INF')] > [double('-0')]}, |
| "t8": {"c":"[double('-INF')] < [double('-0')]", "r":[double('-INF')] < [double('-0')]}, |
| |
| "t9": {"c":"[double('NaN')] > [0]", "r":[double('NaN')] > [0]}, |
| "t10": {"c":"[double('NaN')] < [0]", "r":[double('NaN')] < [0]}, |
| "t11": {"c":"[double('NaN')] > [-0]", "r":[double('NaN')] > [-0]}, |
| "t12": {"c":"[double('NaN')] < [-0]", "r":[double('NaN')] < [-0]}, |
| "t13": {"c":"[double('NaN')] > [double('-0')]", "r":[double('NaN')] > [double('-0')]}, |
| "t14": {"c":"[double('NaN')] < [double('-0')]", "r":[double('NaN')] < [double('-0')]}, |
| |
| "t15": {"c":"[double('-INF')] < [double('INF')]", "r":[double('-INF')] < [double('INF')]}, |
| |
| "t16": {"c":"[double('INF')] > [double('NaN')]", "r":[double('INF')] > [double('NaN')]}, |
| "t17": {"c":"[double('-INF')] < [double('NaN')]", "r":[double('-INF')] < [double('NaN')]} |
| }; |