snake_baitman@lemmy.sdf.orgtoProgrammer Humor@programming.dev•Java3 yearsThe CPU has to do real work to convert between float and int types. Returning an int type would just be giving the CPU extra work to do for no reason 18
The CPU has to do real work to convert between float and int types. Returning an int type would just be giving the CPU extra work to do for no reason