Macaulay2 Engine
Loading...
Searching...
No Matches
overflow.cpp
Go to the documentation of this file.
1
#include "
overflow.hpp
"
2
#include <string>
3
4
namespace
safe
{
5
void
ov
(
const
char
*msg)
6
{
7
const
std::string
s
(msg);
8
throw
(
exc::overflow_exception
(
s
));
9
}
10
}
11
12
// Local Variables:
13
// compile-command: "make -C $M2BUILDDIR/Macaulay2/e overflow.ss"
14
// indent-tabs-mode: nil
15
// End:
s
void size_t s
Definition
m2-mem.cpp:271
safe::ov
void ov(const char *msg)
Definition
overflow.cpp:5
safe
Definition
overflow.cpp:4
overflow.hpp
Overflow-checked integer arithmetic for monomial exponents and degree sums.
exc::overflow_exception
Definition
exceptions.hpp:46
Macaulay2
e
overflow.cpp
Generated on
for Macaulay2 Engine by
1.15.0