Thread overview | |||||
---|---|---|---|---|---|
|
August 09, 2016 [Issue 16261] dmd -profile & nativeToLittleEndian() --> wrong result | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16261 dushibaiyu <dushibaiyu@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dushibaiyu@yahoo.com --- Comment #1 from dushibaiyu <dushibaiyu@yahoo.com> --- nativeToBigEndian aslo erro! import std.stdio; import std.bitmanip; enum ushort type = 100; void main() { ubyte[2] udt = nativeToBigEndian(type); writeln("100 as nativeToBigEndian : ", udt); ushort uy = bigEndianToNative!(ushort)(udt); writeln("uy = : ", uy); } the rulst: 100 as nativeToBigEndian : [13, 21] uy = : 3349 -- |
December 05, 2019 [Issue 16261] dmd -profile & nativeToLittleEndian() --> wrong result | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16261 berni44 <bugzilla@d-ecke.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@d-ecke.de Resolution|--- |WORKSFORME -- |
December 05, 2019 [Issue 16261] dmd -profile & nativeToLittleEndian() --> wrong result | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16261 --- Comment #2 from berni44 <bugzilla@d-ecke.de> --- I just seen, that this is attributed as Mac OS X. Is this a Max OS X only bug? If yes, I'm sorry, we should reopen it... -- |
Copyright © 1999-2021 by the D Language Foundation