16 lines · cpp
1//===-- Unittests for bfloat16 subtraction --------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include "SubTest.h"10 11#include "src/__support/FPUtil/bfloat16.h"12 13static bfloat16 sub_func(bfloat16 x, bfloat16 y) { return x - y; }14 15LIST_SUB_TESTS(bfloat16, bfloat16, sub_func)16