User Activity

  • Posted a comment on discussion General Discussion on half

    Hi, Thank you for making this library, it really helps a lot in my work. But recently, I have found that when I use half_cast() to convert the minimum value of short type (-32768) to half, I get -1, but it should be -32768. This problem also occurs when converting the minimum value of int type. I'm not sure, but it may be related to the overflow in half. hpp: 1082 line, or did I miss something? The following code can reproduce this issue. short x = std::numeric_limits<short>::min(); std::cout <<...

View All

Personal Data

Username:
rui
Joined:
2024-12-26 12:06:44.394000

Projects

  • No projects to display.

Personal Tools