To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 85f911e8 authored by John Zhang's avatar John Zhang
Browse files

change default precision to 6 digits

parent 5e36e730
......@@ -28,7 +28,7 @@ typedef struct _Node {
struct _Node *nxt;
} Node;
#define DEFAULT_FLOAT_FORMAT_PREC 9
#define DEFAULT_FLOAT_FORMAT_PREC 6
// records a series of readings
struct Callback {
......
......@@ -16,7 +16,7 @@
import time
from callback import Callback
DEFAULT_FLOAT_PREC = 9
DEFAULT_FLOAT_PREC = 6
class ClockCallback(Callback):
def __init__(self, param_s):
......
......@@ -21,7 +21,7 @@ from rpython.rlib.rtime import c_clock_gettime, CLOCK_PROCESS_CPUTIME_ID, TIMESP
from callback import Callback
DEFAULT_FLOAT_PREC = 9
DEFAULT_FLOAT_PREC = 6
class Node:
def __init__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment