Minimum, messy code

This commit is contained in:
2023-12-17 13:33:06 +01:00
parent cc6a6e4a9e
commit 54de6d68b1
9 changed files with 427 additions and 12 deletions

17
lib/literals.cpp Normal file
View File

@@ -0,0 +1,17 @@
/** @file literals.cpp
*
* @author Cory Alexander Balaton (coryab)
* @author Janita Ovidie Sandtrøen Willumsen (janitaws)
*
* @version 1.0
*
* @brief The implementation of the literals.
*
* @bug No known bugs
* */
#include "literals.hpp"
std::complex<double> operator""_i(long double magnitude)
{
return std::complex<double>(0.,magnitude);
}