POV-Ray : Newsgroups : povray.advanced-users : write uint32_t : Re: write uint32_t Server Time
18 Oct 2021 13:18:26 EDT (-0400)
  Re: write uint32_t  
From: Thorsten
Date: 30 Mar 2021 03:24:32
Message: <6062d230$1@news.povray.org>
On 29.03.2021 19:40, Bald Eagle wrote:
> If you get any of that to work, I would like a very small working code snippet
> to paste into my collection of Keyword Examples.
> 
> Computing complement inverses would be a nice trick to add in as well.
> 
> I'm sticking to the stuff I know how to do already, and saving the "need to
> learn that" stuff until later/last.

It should be (untested):

#declare uint32 = function(x) { select(x-2147483648, x, x-4294967296) }

Thorsten


Post a reply to this message

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