Numworks Epsilon  1.4.1
Graphing Calculator Operating System
arithmetic.cpp File Reference
#include <quiz.h>
#include <poincare.h>
#include <poincare/arithmetic.h>
#include <assert.h>
#include <utility>

Go to the source code of this file.

Functions

void assert_gcd_equals_to (Integer a, Integer b, Integer c)
 
void assert_lcm_equals_to (Integer a, Integer b, Integer c)
 
void assert_prime_factorization_equals_to (Integer a, int *factors, int *coefficients, int length)
 
 QUIZ_CASE (poincare_arithmetic)
 

Function Documentation

◆ assert_gcd_equals_to()

void assert_gcd_equals_to ( Integer  a,
Integer  b,
Integer  c 
)

Definition at line 15 of file arithmetic.cpp.

◆ assert_lcm_equals_to()

void assert_lcm_equals_to ( Integer  a,
Integer  b,
Integer  c 
)

Definition at line 28 of file arithmetic.cpp.

◆ assert_prime_factorization_equals_to()

void assert_prime_factorization_equals_to ( Integer  a,
int *  factors,
int *  coefficients,
int  length 
)

Definition at line 41 of file arithmetic.cpp.

◆ QUIZ_CASE()

QUIZ_CASE ( poincare_arithmetic  )

Definition at line 65 of file arithmetic.cpp.