Loading

ns

date
Configuration parameters

Converts a number of nanoseconds (positive or negative) in the platform's time unit.

The time unit depends on the platform configuration warp.timeunits (microseconds by default on a standalone).

It consumes a number of nanoseconds from the top of the stack and pushes back the number of time units corresponding.

If you ask for a lower unit than the platform configuration, you will get a long rounded to the closest value.

ns is available since version 1.0.0.

See also

Signatures

Examples

1000 ns -2 ns 499 ns