1 //===----------------------------------------------------------------------===//
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-exception
7 //===----------------------------------------------------------------------===//
11 // template<class RealType = double>
12 // class cauchy_distribution
14 // result_type max() const;
21 #include "test_macros.h"
26 typedef std::cauchy_distribution
<> D
;
28 D::result_type m
= d
.max();
29 assert(m
== INFINITY
);