AUnit  1.5.5
Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test.
Functions
print64.h File Reference
#include <stddef.h>
#include <Print.h>
Include dependency graph for print64.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t aunit::internal::printNumber64 (Print &printer, unsigned long long n, int base)
 
size_t aunit::internal::print64 (Print &printer, unsigned long long n, int base)
 
size_t aunit::internal::print64 (Print &printer, long long n, int base)
 
size_t aunit::internal::println64 (Print &printer, unsigned long long n, int base)
 
size_t aunit::internal::println64 (Print &printer, long long n, int base)
 

Detailed Description

Helper routines to print 'long long' and 'unsigned long long' because the Print::print() methods in Print.h do not suport 64-bit integers.

The division and mod operations for 'long long' types are CPU intensive and consume significant amounts of flash memory (100s of bytes?) on an 8-bit processors. I assume that these methods will not be used very often on 8-bit processors.

Definition in file print64.h.