{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreied4hdinmcju4rkosscsbxlcaxroyaq4gqhkqismxubi33rtxumca",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mjthfmhbog72"
},
"path": "/t/add-something-like-num-traits-to-std-or-move-it-into-std-entirely/24181#post_7",
"publishedAt": "2026-04-19T05:24:10.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "SciMind2460:\n\n> But there isn't a plan for generic floating-point numbers that I know of\n\nNow that we have 4 floating point types in the works, we could make `f<N>` work if we wanted -- probably with a trait bound of some sort since I doubt we'd even enable things like `f<7>` or `f<123>` the way that would be fine for integers.",
"title": "Add something like `num_traits` to STD, or move it into std entirely"
}