Introduction

Tutorials

How To …

Developer Guide


API Reference

public SBitstreamparametric type

SBitstream(value::Real)
SBitstream{T<:Real}(value)

A stochastic bitstream that represents a real (floating-point) number between [-1, 1].

Tip

You can turn of saturation warnings by calling BitSAD.set_saturation_verbosity(:none). Turn them back on by calling BitSAD.set_saturation_verbosity(:full).

Fields:

  • bits::Vector{SBit}: the underlying bitstream
  • value::T: the underlying floating-point number being represented