Skip to content

Commit

Permalink
Add bfloat16 and bcomplex32 to the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
skrah committed Dec 11, 2018
1 parent b32af74 commit 59e192d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/xnd/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,9 @@ As a short example, here is a tuple that contains all primitive types:
... (bool,
... int8, int16, int32, int64,
... uint8, uint16, uint32, uint64,
... float16, float32, float64,
... complex32, complex64, complex128)
... bfloat16, float16, float32, float64,
... bcomplex32, complex32, complex64, complex128)
... """
>>> x = xnd.empty(s)
>>> x.value
(False, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0j, 0j, 0j)
(False, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0.0, 0j, 0j, 0j, 0j)

0 comments on commit 59e192d

Please sign in to comment.