the next f16 value after |val|, towards +inf or -inf as specified by |dir|.
If |mode| is 'flush', all subnormal values will be flushed to 0, before processing and for -/+0 the nextAfterF16 will be the closest normal in the correct direction.
If |mode| is 'no-flush', the next subnormal will be calculated when appropriate, and for -/+0 the nextAfterF16 will be the closest subnormal in the correct direction.
val needs to be in [min f16, max f16]
Generated using TypeDoc