You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

poly.cpp 691 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // Lol Engine — Sample math program: polynomials
  3. //
  4. // Copyright © 2005—2017 Sam Hocevar <sam@hocevar.net>
  5. //
  6. // This program is free software. It comes without any warranty, to
  7. // the extent permitted by applicable law. You can redistribute it
  8. // and/or modify it under the terms of the Do What the Fuck You Want
  9. // to Public License, Version 2, as published by the WTFPL Task Force.
  10. // See http://www.wtfpl.net/ for more details.
  11. //
  12. #if HAVE_CONFIG_H
  13. # include "config.h"
  14. #endif
  15. #include <cstdio>
  16. #include <lol/engine.h>
  17. using namespace lol;
  18. int main(int argc, char **argv)
  19. {
  20. UNUSED(argc, argv);
  21. polynomial<polynomial<float>> p;
  22. return EXIT_SUCCESS;
  23. }