News for hackers. Stuff that matters.
Re:Adobe Photoshop's 'super resolution' made my jaw hit the ... by gmfawcett on Saturday March 13, 2021 @03:10PM (#26449557)
That's not how floating point math works? At least not for standard floats (IEEE 754), and except for very large integers (near 2^m, where m is the mantissa of the FP type). Floats have an exact representation for integers within their mantissa range -- i.e., '18' is exactly the same as '18.0000'.
Re:Adobe Photoshop's 'super resolution' made my jaw hit the ... by Izkata on Saturday March 13, 2021 @07:39PM (#26451616)
They're correct when it comes to scientific fields - the number of significant figures is important, so 18.0 and 18.000 really do mean different things.
Re:Adobe Photoshop's 'super resolution' made my jaw hit the ... by gmfawcett on Sunday March 14, 2021 @02:57PM (#26457797)
Sure, of course... I guess they just gave a poor example of what they were trying to express.