Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117935 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 37249 invoked from network); 13 Jun 2022 13:22:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 13 Jun 2022 13:22:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 6B8F01804C6 for ; Mon, 13 Jun 2022 08:09:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 13 Jun 2022 08:09:49 -0700 (PDT) Received: by mail-yb1-f173.google.com with SMTP id v81so10454994ybe.0 for ; Mon, 13 Jun 2022 08:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=colopl.co.jp; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=OHKhDMGUacXbixZY9F+dyKxcDUzIyqYzR+HlJSat4cs=; b=dQpxVNUc3RAHbxG9QGet3NbUTI+jvRdVTQL+rSXXkgMovz4mG0yCDiOmxF8upF9SDU Xctq+25hVteRJIPC8SbRVkpjeRcHDbqhKuHrKGHVTv8hx9uKLDiRH76EmyMrdwsg9MUu L4CrrZFz3wtWd8dwBvs98Sa+CLIh0omomvCHm58Fo6wpwSrXhIbjRGfagKnVSs8S7b0i 4fYonUdZMrGb4fYaJPtzrdba2CkKlonSi2hOd95sKjK8yvgfcTskjDJ4l1J70OKIqidX QTtIunUSGmqloLVRosrkgbsWQ0ZFnTjT+cj2X3vNGRD4MkgZ9cfSz+n8Z+3kD78Exe7W L0eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=OHKhDMGUacXbixZY9F+dyKxcDUzIyqYzR+HlJSat4cs=; b=LH+88wm9C/WGo2W0Ll9UF0/LL5NqIk+KOtlFmhMGKhtu1wm3tSXDbY34GUFg0c7Ra/ blX2As7mRqTAac/Voua1Ncj/socCo49WMQE3OqnmqEA8Wk/iybvMA8u2PV+0v4gjFXNB 2BNluowndnm2ubv/3WcJxTt3M8cKPfaRbCLU5qskbIIr+1myUeuMk/hEJB9FjL3Z+n7R Pu32e7j5BV131z1C8DK8Fo1GEpmNhUMwfUjUxDRXBiYrER/hBEpc6V4mrdlJBxwMuJcm WOXQw11so2TNOZjMVtZZecFOb4k1ZusNG3jJ6ZX5l03tg+0baVIABj82IXZWZ884WjMZ Gnlw== X-Gm-Message-State: AJIora/eaBVT9FRf5g2UKThJzBUJh/81bnQFUHA7uhdmzgagmt+KmIat e+AaX21b/6x5Ub3supnWgYPi5N021aFX2OPNkzCzVRBx2Kxe X-Google-Smtp-Source: AGRyM1vvj+KIsdY0Q42Mu2uWMETuAvqiu2qVkDkJoDrD4u2WIv3iYHA6OHFl4AIpHygFrVu6ma9uFJetAVaHKQNfsu0= X-Received: by 2002:a05:6902:87:b0:663:efde:77b2 with SMTP id h7-20020a056902008700b00663efde77b2mr78902ybs.2.1655132988550; Mon, 13 Jun 2022 08:09:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 14 Jun 2022 00:09:37 +0900 Message-ID: To: Go Kudo , internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000d6c93d05e155adee" Subject: Re: [RFC] [Vote] Pre-vote announcement for Random Extension 5.x From: g-kudo@colopl.co.jp (Go Kudo) --000000000000d6c93d05e155adee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2022=E5=B9=B45=E6=9C=8831=E6=97=A5(=E7=81=AB) 18:54 Go Kudo : > Hi internals. > > Although I have explained that due to the global turmoil I will delay > voting on the RFC as long as possible, it is time to start voting on the > RFC in order to get the implementation to full status by the PHP 8.2 > Feature Freeze. > > I apologize for the delay in responding to the points you had already > pointed out. It has been addressed as follows. > > - Random\Engine\PCG64::__construct() now takes an `int|string` $inc as it= s > second argument > - This makes it fully compatible with the PCG64 original implementati= on > - Fixed an algorithm implementation error in PCG64 > - Fixed compatibility issues with PHP 8.2 in test cases > - More detailed description in RFC > > Previous discussion thread: https://externals.io/message/117295 > > Voting will begin at 2022-06-14 00:00:00 (UTC). > > https://wiki.php.net/rfc/rng_extension > > Regards, > Go Kudo > Good evening. While refactoring, I found an error in the PCG64 algorithm we are implementing. It should be implemented as pcg64_oneseq_128 (XSL-RR), but currently pcg64_setseq_128 (XSL-RR-RR) is implemented. The RFC also incorrectly states that NumPy implements pcg64_oneseq_128. https://wiki.php.net/rfc/rng_extension The RFC has been corrected for the above. This change removes the int|string $inc argument from RandomEngine\PCG64::__construct(), leaving only int|string|null $seed. Regards, Go Kudo --000000000000d6c93d05e155adee--