POV-Ray : Newsgroups : povray.beta-test : Command-line declare seems limited to 6 significant figures : Command-line declare seems limited to 6 significant figures Server Time
17 May 2024 04:43:46 EDT (-0400)
  Command-line declare seems limited to 6 significant figures  
From: Cousin Ricky
Date: 1 Aug 2012 22:45:00
Message: <web.5019e866aa48f60685de7b680@news.povray.org>
When I use declare= on the command line or in a .ini file, only 6 significant
figures get passed in.
  _________________________________________________

  #version 3.7;
  #ifndef (Input) #declare Input = 12345.6789; #end
  #debug concat (str(Input,0,4), "\n")
  _________________________________________________

Rendering this scene file with no parameters prints 12345.6789 as expected.  But
rendering it with the command line option

  declare=Input=12345.6789

yields 12345.7000.  (POV-Ray 3.6.1 prints all 9 digits.)

POV-Ray version: 3.7.RC6
Operating system: openSUSE Linux 12.1


Post a reply to this message

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