Skip to content

Compile errors in Arduino pro-mini #3

@ymg200

Description

@ymg200

Hi,
I am getting compile errors in Arduino pro-mini. Am I missing some other library?
Thank you.

In file included from G:\Float64-master\Float64.h:10:0,
from G:\Float64-master\Float64ops.cpp:3:
G:\Float64-master\Float64ops.cpp: In member function 'f64 f64::setNaN()':
G:\Float64-master\include/specialize.h:100:54: error: 'UINT64_C' was not declared in this scope
#define defaultNaNF64UI UINT64_C( 0xFFF8000000000000 )
^
G:\Float64-master\Float64ops.cpp:287:12: note: in expansion of macro 'defaultNaNF64UI'
num_.v = defaultNaNF64UI;
^
In file included from G:\Float64-master\Float64.h:11:0,
from G:\Float64-master\Float64ops.cpp:3:
G:\Float64-master\Float64ops.cpp: In member function 'bool f64::isNaN() const':
G:\Float64-master\include/internals.h:108:60: error: 'UINT64_C' was not declared in this scope
#define fracF64UI( a ) ((a) & UINT64_C( 0x000FFFFFFFFFFFFF ))
^
G:\Float64-master\Float64ops.cpp:296:10: note: in expansion of macro 'fracF64UI'
return fracF64UI(num_.v) && (expF64UI(num_.v)==0x7ff);
^
G:\Float64-master\Float64ops.cpp: In member function 'bool f64::isInf() const':
G:\Float64-master\include/internals.h:108:60: error: 'UINT64_C' was not declared in this scope
#define fracF64UI( a ) ((a) & UINT64_C( 0x000FFFFFFFFFFFFF ))
^
G:\Float64-master\Float64ops.cpp:301:11: note: in expansion of macro 'fracF64UI'
return !fracF64UI(num_.v) && (expF64UI(num_.v)==0x7ff);
^
Error compiling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions