# TLeaf implementation for truncated datatypes (Float16\_t and Double32\_t)

**URL:** <https://root-forum.cern.ch/t/tleaf-implementation-for-truncated-datatypes-float16-t-and-double32-t/32872>\
**Category:** Evolution Proposals, Apps & Ideas\
**Created:** [February 22, 2019, 7:04pm UTC](https://root-forum.cern.ch/t/tleaf-implementation-for-truncated-datatypes-float16-t-and-double32-t/32872 "2019-02-22T19:04:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![amete](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amete/32/22968_2.png) [@amete](https://root-forum.cern.ch/u/amete)\
**Post date:** [August 28, 2019, 10:18am UTC](https://root-forum.cern.ch/t/tleaf-implementation-for-truncated-datatypes-float16-t-and-double32-t/32872/3 "2019-08-28T10:18:43Z")

</div>

Hi @Triple_S,

That’s indeed a neat feature, thanks a lot. I’ve been experimenting with this in v6.18. From the [release notes](https://root.cern/doc/v618/release-notes.html#tleaff16-and-tleafd32) I see that values/arrays are supported but is there any support for STL containers, i.e. storing `std::vector< Float16_t>` with bit-truncation? Many thanks.

Best,  
Serhan

PS: I just now see a similar discussion/request at [Branch of Type Float16\_t](https://root-forum.cern.ch/t/branch-of-type-float16-t/34809) but it seems to be closed w/o a conclusion.

---

_[View the full topic](https://root-forum.cern.ch/t/tleaf-implementation-for-truncated-datatypes-float16-t-and-double32-t/32872)._
