Skip to content

Commit 156a6c7

Browse files
committed
Simplifying dilog.c: using a look-up table, using REAL_EPSILON and folding some constants into the functions.
1 parent a122748 commit 156a6c7

2 files changed

Lines changed: 181 additions & 145 deletions

File tree

  • src/snappy/extensions

src/snappy/extensions/Orb/kernel/headers/precision/double/real_type.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ typedef double Real_struct;
2626

2727
SNAPPEA_NAMESPACE_END_SCOPE
2828

29+
#define Real_literal(x) (x)
30+
2931
#define Real_from_string(x) (atof((char *)x))
3032

3133
#define REAL_MAX DBL_MAX

0 commit comments

Comments
 (0)