# 亚马逊这是裁员裁到大动脉了吗

**URL:** <https://www.isharkfly.com/t/topic/17050>\
**Category:** 技术宅\
**Created:** [March 12, 2025, 4:00pm UTC](https://www.isharkfly.com/t/topic/17050 "2025-03-12T16:00:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [March 12, 2025, 4:00pm UTC](https://www.isharkfly.com/t/topic/17050/1 "2025-03-12T16:00:37Z")

</div>

大哥，不会你用的是浮点型吧。

 ![2025-03-12_11-54-43](https://com-isharkfly-discourse.s3.dualstack.us-east-2.amazonaws.com/com-isharkfly-www/discourse-uploads/original/3X/2/a/2ad59d37c9ecae60e93afd15c405ee8ed59f7f6b.jpeg)

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [March 12, 2025, 4:24pm UTC](https://www.isharkfly.com/t/topic/17050/2 "2025-03-12T16:24:43Z")

</div>

浮点型数据在计算的时候容易丢精度，通常我们不会用在金融方面的计算。

---

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [March 13, 2025, 3:02pm UTC](https://www.isharkfly.com/t/topic/17050/3 "2025-03-13T15:02:31Z")

</div>

这张图片在小红书上居然成了爆款。

看来这有时候还是需要蹭下热点。

 ![IMG_8539](https://com-isharkfly-discourse.s3.dualstack.us-east-2.amazonaws.com/com-isharkfly-www/discourse-uploads/original/3X/e/2/e27cbbee3955cc6043ebb235578f45231a9d4310.png)

话说回来，这个错误本身也是比较不应该发生的。
