From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/116253 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans Hagen via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: atan2 function Date: Fri, 14 Oct 2022 10:07:19 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; Format="flowed" Content-Transfer-Encoding: base64 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26434"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Cc: Hans Hagen To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 14 10:08:07 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojFjj-0006j5-H8 for gctc-ntg-context-518@m.gmane-mx.org; Fri, 14 Oct 2022 10:08:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DADA52A4596; Fri, 14 Oct 2022 10:07:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q416xZNkPIw0; Fri, 14 Oct 2022 10:07:22 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8586F2A458B; Fri, 14 Oct 2022 10:07:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 510E42A4589 for ; Fri, 14 Oct 2022 10:07:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91ZJB9_wVA-F for ; Fri, 14 Oct 2022 10:07:20 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=195.121.94.170; helo=ewsoutbound.kpnmail.nl; envelope-from=j.hagen@xs4all.nl; receiver= Original-Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 64B592A4163 for ; Fri, 14 Oct 2022 10:07:19 +0200 (CEST) X-KPN-MessageId: 35466ecb-4b97-11ed-8a67-005056ab378f Original-Received: from smtp.kpnmail.nl (unknown [10.31.155.39]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 35466ecb-4b97-11ed-8a67-005056ab378f; Fri, 14 Oct 2022 10:07:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=APJBYJ5Vnw8852us7Fl2NG6VOJlYUtWKfEvDoXz5kIQ=; b=IoSVmG6k4idmcs/Nb5unYGRRUCgm0pdZGmrgIFvX9N0Q5F3Qe2t0d+WKGLmbJHwILLBwy7YGXIjaC V+xA51j4BaIyYA4FOr/WxIqKTKtcB/jh4A0dOK3CpT4US+XdE7vg13Y2FJIkRAVjvLLD04oqeAI1Ho lSPNaexYUa5/FtJBRhIctvtD40uB8rixSVJLUhM5RHs6/u6hsKo8cmsy2sXBsRjjqWj7JWRuo6Iy0a DjJj4t9eGjI6oX9mlvQnjJwZExO9HMHICseR/JkxT9A2deOy5Q5EIFze+0BGIVW2j7RccTfFNSCWCN ZFA2iJXkTB7RMlv9Rb0+49gsvz4iYGA== X-KPN-MID: 33|pPmre24FHoE/k3DLeUL2TtuOHz/E/lD5IR/qkbW5ZYQ9gXFJACo/+/YzPlVFxSq DNqri7+AGHBjhv/ecj9pn96zOLcIWjW2Sz4Jf74TaUx4= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|Jog4prIO9CindeGuUAfPi+MUW/Wl1a5UATabnv8ZiBbovPyrTWDL9A3pBX+uJGd GJCN2d8fG5Z2AESRtYgLEPw== X-Originating-IP: 213.125.29.162 Original-Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 39790e5f-4b97-11ed-b8b1-005056ab7447; Fri, 14 Oct 2022 10:07:19 +0200 (CEST) Content-Language: en-US In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:116253 Archived-At: T24gMTAvMTQvMjAyMiAyOjM1IEFNLCBNYXggQ2hlcm5vZmYgdmlhIG50Zy1jb250ZXh0IHdyb3Rl Ogo+IAo+IEhpLAo+IAo+PiBUaGUgYW5nbGUgZnVuY3Rpb24gZG9lc24ndCBhcHBlYXIgdG8gcHJv dmlkZSB0aGUgc2FtZSBjYWxjdWxhdGlvbiBhcwo+PiBteSBhdGFudHdvIGluIGFsbCBjYXNlcy4K PiAKPiBUaGV5IGJvdGggZ2l2ZSB0aGUgc2FtZSByZXN1bHRzLCBidXQgImFuZ2xlIiBnaXZlcyBh IHJlc3VsdCBpbiBkZWdyZWVzCj4gd2hpbGUgImF0YW50d28iIGdpdmVzIGEgcmVzdWx0IGluIHJh ZGlhbnMuIFRoaXMgZGVtbzoKPiAKPiAgICAgXHN0YXJ0TVBwYWdlCj4gICAgICAgICB2YXJkZWYg YXRhbnR3byggZXhwciBkeSwgZHggKSA9Cj4gICAgICAgICAgICAgc2F2ZSB0aGV0YTsKPiAgICAg Cj4gICAgICAgICAgICAgbnVtZXJpYyB0aGV0YTsKPiAgICAgCj4gICAgICAgICAgICAgdGhldGEg Oj0gMDsKPiAgICAgCj4gICAgICAgICAgICAgaWYgKGR4ID4gMCk6Cj4gICAgICAgICAgICAgICAg IHRoZXRhIDo9IGF0YW4oIGR5IC8gZHggKTsKPiAgICAgICAgICAgICBlbHNlaWYgKGR4IDwgMCkg YW5kIChkeSA+PSAwKToKPiAgICAgICAgICAgICAgICAgdGhldGEgOj0gYXRhbiggZHkgLyBkeCAp ICsgcGk7Cj4gICAgICAgICAgICAgZWxzZWlmIChkeCA8IDApIGFuZCAoZHkgPCAwKToKPiAgICAg ICAgICAgICAgICAgdGhldGEgOj0gYXRhbiggZHkgLyBkeCApIC0gcGk7Cj4gICAgICAgICAgICAg ZWxzZWlmIChkeCA9PSAwKSBhbmQgKGR5ID4gMCk6Cj4gICAgICAgICAgICAgICAgIHRoZXRhIDo9 IHBpIC8gMjsKPiAgICAgICAgICAgICBlbHNlaWYgKGR4ID09IDApIGFuZCAoZHkgPCAwKToKPiAg ICAgICAgICAgICAgICAgdGhldGEgOj0gLXBpIC8gMjsKPiAgICAgICAgICAgICBmaTsKPiAgICAg Cj4gICAgICAgICAgICAgdGhldGEKPiAgICAgICAgIGVuZGRlZjsKPiAgICAgCj4gICAgICAgICBk ZWYgc2hvd2FuZ2xlcyhleHByIGR4LCBkeSkgPQo+ICAgICAgICAgICAgIG1lc3NhZ2UgIi0tLS0t LS0tLS0tLS0tLSIKPiAgICAgICAgICAgICBtZXNzYWdlICJhdGFudHdvICIgJiBkZWNpbWFsIGF0 YW50d28oZHksIGR4KQo+ICAgICAgICAgICAgIG1lc3NhZ2UgImFuZ2xlICIgJiBkZWNpbWFsIChh bmdsZShkeCwgZHkpICogcGkgLyAxODApCj4gICAgICAgICAgICAgbWVzc2FnZSAiYW5nbGUgIiAm IGRlY2ltYWwgYW5nbGUoZHgsIGR5KQo+ICAgICAgICAgICAgIG1lc3NhZ2UgIigiICYgZGVjaW1h bCBkeCAmICIsICIgJiBkZWNpbWFsIGR5ICYgIikiCj4gICAgICAgICBlbmRkZWY7Cj4gICAgIAo+ ICAgICAgICAgc2hvd2FuZ2xlcygxLCAwKTsKPiAgICAgICAgIHNob3dhbmdsZXMoMSwgMSk7Cj4g ICAgICAgICBzaG93YW5nbGVzKDAsIDEpOwo+ICAgICAgICAgc2hvd2FuZ2xlcygtMSwgMSk7Cj4g ICAgICAgICBzaG93YW5nbGVzKC0xLCAwKTsKPiAgICAgICAgIHNob3dhbmdsZXMoLTEsIC0xKTsK PiAgICAgICAgIHNob3dhbmdsZXMoMCwgLTEpOwo+ICAgICAgICAgc2hvd2FuZ2xlcygxLCAtMSk7 Cj4gICAgIFxzdG9wTVBwYWdlClNvIHlvdSBzdWdnZXN0IHRvIGFkZCBhdGFudHdvPyBBcyBzaWRl IG5vdGUsIHlvdSBjYW4gcmVkdXJlIHlvdXIgCmRlZmluaXRpb24gdG86CgogICAgICAgICAgdmFy ZGVmIGF0YW50d28oIGV4cHIgZHksIGR4ICkgPQogICAgICAgICAgICAgIGlmIChkeCA+IDApOgog ICAgICAgICAgICAgICAgICBhdGFuKCBkeSAvIGR4ICkKICAgICAgICAgICAgICBlbHNlaWYgKGR4 IDwgMCkgYW5kIChkeSA+PSAwKToKICAgICAgICAgICAgICAgICAgYXRhbiggZHkgLyBkeCApICsg cGkKICAgICAgICAgICAgICBlbHNlaWYgKGR4IDwgMCkgYW5kIChkeSA8IDApOgogICAgICAgICAg ICAgICAgICBhdGFuKCBkeSAvIGR4ICkgLSBwaQogICAgICAgICAgICAgIGVsc2VpZiAoZHggPT0g MCkgYW5kIChkeSA+IDApOgogICAgICAgICAgICAgICAgICBwaSAvIDIKICAgICAgICAgICAgICBl bHNlaWYgKGR4ID09IDApIGFuZCAoZHkgPCAwKToKICAgICAgICAgICAgICAgICAgLXBpIC8gMgog ICAgICAgICAgICAgIGVsc2UgOgogICAgICAgICAgICAgICAgICAwCiAgICAgICAgICAgICAgZmkK ICAgICAgICAgIGVuZGRlZiA7CgphbmQgdGhlbgoKICAgICB2YXJkZWYgYXRhbnR3byhleHByIGR5 LCBkeCkgPQogICAgICAgICBpZiBkeCA9PSAwIDoKICAgICAgICAgICAgIGlmIGR5IDwgMCA6IC0g ZmkgcGkgLyAyCiAgICAgICAgIGVsc2UgOgogICAgICAgICAgICAgYXRhbihkeS9keCkgaWYgZHgg PiAwIDogaWYgZHkgPCAwIDogLSBlbHNlIDogKyBmaSBwaSBmaQogICAgICAgICBmaQogICAgIGVu ZGRlZiA7Cgpnb2luZyBmdXJ0aGVyIG1ha2VzIHVzIGVuZCB1cCBpbiBhbiBvbmUtbGluZSBvYnNj dXJpdHkKCkhhbnMKCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBIYW5zIEhhZ2VuIHwgUFJBR01BIEFERQogICAgICAgICAgICAgICBSaWRkZXJzdHJh YXQgMjcgfCA4MDYxIEdIIEhhc3NlbHQgfCBUaGUgTmV0aGVybGFuZHMKICAgICAgICB0ZWw6IDAz OCA0NzcgNTMgNjkgfCB3d3cucHJhZ21hLWFkZS5ubCB8IHd3dy5wcmFnbWEtcG9kLm5sCi0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpJZiB5b3VyIHF1ZXN0aW9uIGlzIG9mIGlu dGVyZXN0IHRvIG90aGVycyBhcyB3ZWxsLCBwbGVhc2UgYWRkIGFuIGVudHJ5IHRvIHRoZSBXaWtp IQoKbWFpbGxpc3QgOiBudGctY29udGV4dEBudGcubmwgLyBodHRwczovL3d3dy5udGcubmwvbWFp bG1hbi9saXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHBzOi8vd3d3LnByYWdtYS1h ZGUubmwgLyBodHRwOi8vY29udGV4dC5hYW5oZXQubmV0CmFyY2hpdmUgIDogaHR0cHM6Ly9iaXRi dWNrZXQub3JnL3BoZy9jb250ZXh0LW1pcnJvci9jb21taXRzLwp3aWtpICAgICA6IGh0dHBzOi8v Y29udGV4dGdhcmRlbi5uZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18K