int64

    3熱度

    1回答

    據我瞭解,這個{「xxx」:1000000000000000}是正確的嗎? 不知道如何解析它與Yojson.Safe。我正在尋找類似於int64 _的Int64的東西,但沒有提供,只有_Int int _和_`Intlit字符串_在api上。 編輯,這是我的問題 let x = "{\"xxx\": 10000000000000}" let json = Yojson.Safe.from_str

    4熱度

    2回答

    我嘗試使用此代碼,但給我一個錯誤:常量100000000000000000000000溢出int64 我該如何解決這個問題? // Initialise big numbers with small numbers count, one := big.NewInt(100000000000000000000000), big.NewInt(1)

    4熱度

    2回答

    如何轉換R中的64位十六進制字符串? > library(int64) > as.int64("7f2d36a2a000") [1] NA Warning message: In as.int64("7f2d36a2a000") : NAs introduced > as.int64("0x7f2d36a2a000") [1] NA Warning message: In as.i

    5熱度

    2回答

    您好我有一個NSMutableArray的,我試試這個: var ma = NSMutableArray() let number:Int64 = 8345834344 ma.addObject(number)// Error "Type Int64 does not conform to protocol AnyObject" 如何Int64的變量添加到NSMutableArray的()

    0熱度

    1回答

    我有一個名爲Elements的Mongo集合,它包含了〜900萬個文檔。每個文檔的結構如下: { _id : "1", Timestamp : Numberlong(12345), Nationality : "ITA", Value: 5 } 如果我運行下面的查詢: db.Elements.find({ Nationality: 'ITA' })

    3熱度

    1回答

    我對朱莉婭完全陌生(今天早些時候纔開始),所以如果這是一個愚蠢的問題,請原諒我,但儘管愛上這門語言,但我沒有發現很多偉大的調試幫助那裏。 基本上我只想定義一個方法的替代構造函數,該方法將在包含任何類型的Integer(int32,uint8等)的數組的輸入上激活。 我想這將是比較簡單寫道: type MyType weight_matrices::Array{Array{Floating

    -2熱度

    1回答

    我在Swift程序上工作,現在出現問題: 如何比較Int64和Int64? if(msgCount.value != msg.longLongValue){ 錯誤: Binary operator '!=' cannot be applied to operands of type 'Int64' and 'Int64'

    2熱度

    2回答

    我將一些C#代碼移植到Delphi(XE5)。 C#代碼有這樣的代碼: long t = ... ... t = (t >> 25) + ... 我翻譯這 t: int64; ... t := (t shr 25) + ... 現在我看到的是德爾福(有時)計算轉向負面T的錯誤值,例如: -170358640930559629 shr 25 Windows Calculat

    6熱度

    4回答

    問題時: var something: Int64? 我想,如果用速記後來分配給辭典鍵,這樣的: dictionary['something'] = (something != nil) ? something! : nil Xcode是給我下面的驗證錯誤: Result values in '? :' expression have mismatching types: 'Int64'

    1熱度

    1回答

    我有一個巨大的csv文件,它有一個大整數值的數字列。下面有一個示例。 0, 0, 11536375, 0, 1152921504606846976, 75962, 258238559 1, 0, 11536375, 1, 1152921504606846977, 609189, 1515555074 2, 0, 11536375, 2, 1152921504606846978, 609189