* Implementation of modular GCD. */
/*
- * GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2024 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include <cln/numtheory.h>
#include <cln/random.h>
#include <stdexcept>
+#include <algorithm>
namespace GiNaC {