alpaqa
1.0.0a10
Nonconvex constrained optimization
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
i
m
n
o
p
r
s
t
u
w
Variables
Typedefs
c
d
f
i
l
m
p
r
t
u
v
Enumerations
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
û
α
γ
δ
ε
λ
ρ
σ
τ
φ
ψ
ϵ
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
û
α
ρ
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
α
γ
δ
ε
λ
ρ
σ
τ
φ
ψ
ϵ
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
a
c
d
e
f
g
l
m
p
r
s
t
u
w
Functions
a
c
d
e
f
g
l
m
p
r
s
t
w
Typedefs
Macros
a
c
e
p
u
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
src
alpaqa
src
util
quadmath
quadmath-print.cpp
Go to the documentation of this file.
1
#ifdef ALPAQA_WITH_QUAD_PRECISION
2
3
#include <
alpaqa/util/quadmath/quadmath-print.hpp
>
4
#include <
alpaqa/util/quadmath/quadmath.hpp
>
5
6
#include <cassert>
7
#include <ostream>
8
9
namespace
alpaqa
{
10
std::ostream &
operator<<
(std::ostream &os, __float128 f) {
11
char
buf[128];
12
auto
precision =
static_cast<
int
>
(os.precision());
13
[[maybe_unused]]
int
n =
14
quadmath_snprintf(buf,
sizeof
(buf),
"%#.*Qg"
, precision, f);
15
assert((
size_t
)n <
sizeof
buf);
16
return
os << buf;
17
}
18
}
// namespace alpaqa
19
20
#endif
alpaqa
Definition:
anderson.hpp:10
alpaqa::operator<<
std::ostream & operator<<(std::ostream &os, PANOCStopCrit s)
Definition:
panoc-stop-crit.cpp:7
quadmath-print.hpp
quadmath.hpp
Generated by
1.9.6