From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18359 invoked by alias); 13 Jul 2014 14:48:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 18347 invoked by uid 89); 13 Jul 2014 14:48:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: vms173015pub.verizon.net Received: from vms173015pub.verizon.net (HELO vms173015pub.verizon.net) (206.46.173.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 13 Jul 2014 14:48:31 +0000 Received: from [192.168.1.4] ([unknown] [173.69.187.216]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N8N00BGLNSE8F50@vms173015.mailsrvcs.net> for gcc-patches@gcc.gnu.org; Sun, 13 Jul 2014 09:48:15 -0500 (CDT) Message-id: <53C29C2E.3080805@verizon.net> Date: Sun, 13 Jul 2014 14:48:00 -0000 From: Ed Smith-Rowland <3dw4rd@verizon.net> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-version: 1.0 To: Ulrich Drepper Cc: gcc-patches , Paolo Carlini Subject: Re: [PATCH] libstdc++: add uniform on sphere distribution References: <53C28FBB.9080708@verizon.net> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2014-07/txt/msg00912.txt.bz2 On 07/13/2014 10:11 AM, Ulrich Drepper wrote: > On Sun, Jul 13, 2014 at 9:55 AM, Ed Smith-Rowland <3dw4rd@verizon.net> wrote: >> So I would just serialize _M_n here. > It has fixed parameters. This would mean unnecessary work. When you > try to use the parameter of the sphere distribution the normal > distribution will be reset. So there really is no need here. > > The only problem would be if code couldn't handle the operators not > writing/reading anything But I haven't seen anything like that. > OK. I see it. Thanks.