I am doing some programming in D and I dicovered that cos(z), where z is a complex number, is computed incorrectly. After looking at the documentation, D uses the equation: cos(z) = cos(z.re)*cosh(z.im) + sin(z.re)*sinh(z.im)i The correct equation is actually the complex conjugate of the above equation: cos(z) = cos(z.re)*cosh(z.im) - sin(z.re)*sinh(z.im)i
Fixed dmd 1.034 and 2.018
Same problem exists in Tango. Fixed in Tango commit #3878
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル