POV-Ray : Newsgroups : povray.general : QUESTION: Programming: Converting Floats to 255-Integers : Re: QUESTION: Programming: Converting Floats to 255-Integers Server Time
19 Apr 2024 06:32:37 EDT (-0400)
  Re: QUESTION: Programming: Converting Floats to 255-Integers  
From: clipka
Date: 27 Apr 2018 17:10:47
Message: <5ae391d7$1@news.povray.org>
Am 27.04.2018 um 20:55 schrieb Sven Littkowski:
> Thanks. I was irritated, as in Photoshop the 256bit integers are no
> floats, but when simply multiplying, they are often enough still floats.
> I might have to round these numbers then, I guess. But that means losing
> exactness.

Such is the nature of 8-bit integers, as opposed to 32-bit floating
point numbers.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.