POV-Ray : Newsgroups : povray.off-topic : More Haskell fanning : Re: More Haskell fanning Server Time
30 Jul 2024 02:21:26 EDT (-0400)
  Re: More Haskell fanning  
From: Darren New
Date: 15 May 2011 12:41:36
Message: <4dd00240$1@news.povray.org>
On 5/15/2011 3:22, Warp wrote:
> which was to properly handle C bitfields.

Given that C doesn't define what order bit fields go in, that seems like a 
tall order. You can't technically do that from assembler, either. :-)

Otherwise, it would seem pretty easy to write Haskell code (or any other 
language that handles integer math) to just use masks and multiplies and 
divides.

-- 
Darren New, San Diego CA, USA (PST)
   "Coding without comments is like
    driving without turn signals."


Post a reply to this message

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