alpaqa
1.0.0a19
Nonconvex constrained optimization
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
w
Variables
Typedefs
a
c
d
e
f
i
l
m
p
r
s
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
j
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
g
h
i
l
m
n
o
p
r
s
t
v
w
Enumerations
Enumerator
a
f
i
s
u
Related Symbols
Files
File List
File Members
All
a
b
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
Variables
Typedefs
Enumerations
Enumerator
Macros
a
b
c
e
p
u
Examples
Sphinx
•
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
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:112
quadmath-print.hpp
quadmath.hpp
Generated on Sat Mar 30 2024 for alpaqa by
1.9.8