sqrt

    24ısı

    3cevap

    Int'dan sqrt'u nasıl edinebilirim. Öyle deneyin: sqrt . fromInteger x Ama tipleri uyumluluk hatası alıyorum. fromIntegral kullanma

    7ısı

    1cevap

    >>> np.__version__ '1.7.0' >>> np.sqrt(10000000000000000000) 3162277660.1683793 >>> np.sqrt(100000000000000000000.) 10000000000.0 >>> np.sqrt(100000000000000000000) Traceback (most recent call