Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
3 answers
131 views

I'm creating a program in which I would like to have the ability to scale textures. I created a system which can successfully do so but it ended up being quite large and so I refactored it into a ...
Levi's user avatar
  • 123
-1 votes
1 answer
54 views

Is there a way to make Python interpret ~3 as an unsigned integer?
0 votes
1 answer
81 views

I was writing a program to unpack Uint8 and Uint32 integers from a byte stream, and encountered this issue where I couldn't pass a non-multiple-of-4 value as start argument of Uint32List.sublistView() ...
Sunil B's user avatar
  • 2,146
0 votes
1 answer
161 views

I would like to reproduce C behavior in Python, presumably using numpy, but I'm running into this issue : >>> import numpy >>> a = numpy.uint32(4294967295) >>> type(a) <...
gdelab's user avatar
  • 6,230
0 votes
1 answer
107 views

I have this code... Objective-c: typedef NS_ENUM(uint32_t, EXType) { EXTypeBad = 0, EXTypeOK, EXTypeGood }; EXType type = EXTypeOK; Swift UInt32(type) But I get: initializer 'init(_:radix:)'...
Rik's user avatar
  • 1,987
1 vote
0 answers
60 views

I want to run the STORM package in Matlab, but I receive this error: STORM('Validation',1,30,2,'ptotC','stormsC','ptot2C','storms2C','ETC') Warning: Variable 'Ptot_pdf' originally saved as a prob....
1 vote
1 answer
792 views

new Uint8Array(new Uint16Array([64]).buffer) How can I achieve same result structure with pure Python? What is an equivalent of Uint8Array/Uint16Array? I'm getting buffer from Uint16Array type here ...
0 votes
0 answers
199 views

I have an UINT32 array filled with bytes, because my value is too long it has to be in uint32 because byte array is just to short for it UInt32[] somebytes = new UInt32[] { 0xAABBCC, 0xAABBCC }; but ...
LimetaPeta's user avatar
0 votes
1 answer
279 views

I found the following definition about signed/unsigned integers on a Solidity book from Packt: Understanding integers Integers help in storing numbers in contracts. Solidity provides the following two ...
-2 votes
1 answer
252 views

I'm just learning about image processing, and have chosen go as my preferred language to begin working with images. I have an array of uint32 values, such as: [[287 277 283 297 295 279 279 292 305 295 ...
-1 votes
1 answer
486 views

There is a hex byte sequence: 04 9A 01 00 The HxD hex editor decodes them as "104964" (UInt 32 Little Endian). I need to implement a similar conversion in Delphi 7, but in the opposite ...
0 votes
1 answer
63 views

I have a document that shows a data in HEX, and split it into multi part (head, TransactionID, MessageType and ...) There is a problem in this document, and it is for example for TID they write ...
4 votes
1 answer
126 views

As following code shows, why uint32_t prevents the compiler (GCC 12.1 + O3) from optimizing by auto vectorization. See godbolt. #include <cstdint> // no auto vectorization void test32(uint32_t *...
0 votes
1 answer
672 views

I am looking for a efficient way to properly do mathematical operations with floating values. As I am in the embedded C, I don't want to use any extra library for float data type. As far as I ...
0 votes
1 answer
879 views

I am trying to transmit audio using CAN FD and the data format it sends it is in uint8_t, when the sample I take from the microphone with the ADC is an uint32_t. Will I have any problem trying to ...

15 30 50 per page
1
2 3 4 5
...
12

AltStyle によって変換されたページ (->オリジナル) /