Home
last modified time | relevance | path

Searched refs:floatFromUint64 (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/firmware/os/inc/
DfloatRt.h29 float floatFromUint64(uint64_t v);
45 static inline float floatFromUint64(uint64_t v) in floatFromUint64() function
/device/google/contexthub/firmware/os/core/
DfloatRt.c126 float floatFromUint64(uint64_t v) in floatFromUint64() function
144 return -floatFromUint64(-v); in floatFromInt64()
146 return floatFromUint64(v); in floatFromInt64()
/device/google/contexthub/firmware/os/algos/
Dtime_sync.c119 mean_y += floatFromUint64(sync->time1[ii] - time1_base) * invN; in time_sync_estimate_time1()
120 mean_x += floatFromUint64(sync->time2[ii] - time2_base) * invN; in time_sync_estimate_time1()
134 float y = floatFromUint64(sync->time1[ii] - time1_base) - mean_y; in time_sync_estimate_time1()
135 float x = floatFromUint64(sync->time2[ii] - time2_base) - mean_x; in time_sync_estimate_time1()
/device/google/contexthub/firmware/os/algos/calibration/sample_rate_estimator/
Dsample_rate_estimator.c66 const float next_interval_nanos = floatFromUint64( in sampleRateEstimatorUpdate()
/device/google/contexthub/firmware/os/algos/common/math/
Dmacros.h84 static inline float floatFromUint64(uint64_t v) { in floatFromUint64() function
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c424 … alpha = floatFromUint64(time_delta) / floatFromUint64(FILTER_TIME_CONSTANT + time_delta); in add_samples()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c245 weight_next = (float)counter / floatFromUint64(sample_spacing_ns); in fillSamples()
487 dT = floatFromUint64(mTask.ResamplePeriodNs[which]) * 1e-9f; in drainSamples()