Function anj_time_real_fnew

Function Documentation

static inline anj_time_real_t anj_time_real_fnew(const double scalar, const anj_time_unit_t unit)

Creates a real timestamp from a floating-point scalar and unit.

Parameters:
  • scalar – Floating-point value.

  • unit – Unit of scalar.

Returns:

Real timestamp.