POV-Ray : Newsgroups : povray.unofficial.patches : Support VC .NET : Re: Support VC .NET Server Time
28 Sep 2024 16:43:25 EDT (-0400)
  Re: Support VC .NET  
From: Warp
Date: 8 Jan 2004 07:29:18
Message: <3ffd4d1e@news.povray.org>
JenniferJ <nomail@nomail> wrote:
> pow((double)2,2)

  Whether or not you should "need" to do that, that's the cumbersome way
of doing it.

  If you want a double-type constant, then write a double-type constant.
It makes no sense to write an int-type constant and cast it to double.
  That is: pow(2.0, 2)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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