libnum: rename the namespace [num] -> [libnum]

The first name would make `num` on its own ambiguous when using the
namespace.
This commit is contained in:
Lephenixnoir 2022-08-01 23:01:35 +01:00
parent 4238d5853f
commit 10cf9951a0
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
7 changed files with 7 additions and 7 deletions

View File

@ -27,7 +27,7 @@
#include <type_traits>
#include <concepts>
namespace num {
namespace libnum {
struct num8;
struct num16;

View File

@ -1,5 +1,5 @@
#include <num/num.h>
using namespace num;
using namespace libnum;
/* Digits of the decimal part, from most to least significant. Returns the
number of digits (which is 0 when x=0) */

View File

@ -1,5 +1,5 @@
#include <num/num.h>
using namespace num;
using namespace libnum;
extern "C" {

View File

@ -1,5 +1,5 @@
#include <num/num.h>
using namespace num;
using namespace libnum;
extern "C" {

View File

@ -1,6 +1,6 @@
#include <num/num.h>
using namespace num;
using namespace libnum;
extern "C" {

View File

@ -25,7 +25,7 @@
#include <stdint.h>
#include <num/num.h>
using namespace num;
using namespace libnum;
//---
// Integer sampling

View File

@ -6,7 +6,7 @@
// unit_static.cpp: Compile-time evaluation tests
#include <num/num.h>
using namespace num;
using namespace libnum;
static_assert(sizeof(num8) == 1);
static_assert(sizeof(num16) == 2);