1# Copyright (c) 2025 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14function f0() { 15print(hide(-1.47688022616793e-310) % hide( -1.47688022616793e-310)); 16print(hide(-1.47688022616793e-310) >> hide( -1.47688022616793e-310)); 17print(hide(-1.47688022616793e-310) >>> hide( -1.47688022616793e-310)); 18print(hide(-1.47688022616793e-310) << hide( -1.47688022616793e-310)); 19print(hide(-1.47688022616793e-310) | hide( -1.47688022616793e-310)); 20print(hide(-1.47688022616793e-310) % hide( NaN)); 21print(hide(-1.47688022616793e-310) >> hide( NaN)); 22print(hide(-1.47688022616793e-310) >>> hide( NaN)); 23print(hide(-1.47688022616793e-310) << hide( NaN)); 24print(hide(-1.47688022616793e-310) | hide( NaN)); 25} 26function f1() { 27print(hide(NaN) % hide( -1.47688022616793e-310)); 28print(hide(NaN) >> hide( -1.47688022616793e-310)); 29print(hide(NaN) >>> hide( -1.47688022616793e-310)); 30print(hide(NaN) << hide( -1.47688022616793e-310)); 31print(hide(NaN) | hide( -1.47688022616793e-310)); 32print(hide(NaN) % hide( NaN)); 33print(hide(NaN) >> hide( NaN)); 34print(hide(NaN) >>> hide( NaN)); 35print(hide(NaN) << hide( NaN)); 36print(hide(NaN) | hide( NaN)); 37} 38