Skip to main content

Questions tagged [custom-data-type]

The tag has no usage guidance.

custom-data-type
-4 votes
0 answers
74 views

How can I verify a custom data type is working as intended in C++ [closed]

I am working on a project that uses custom reduced precision data types, so an exponent and mantissa are specified by me, which are lower than the standard 32 bit float representation. I am struggling ...
John 's user avatar
-1 votes
0 answers
88 views

How to implement longer data type than long long int in C/C++? [duplicate]

It is answered and quoted by many that such problem can be resolved by just using GMP library. But I am wondering how one would actually implement such datatype in C/C++, and is there any "...
fdc's user avatar
  • 7
1 vote
1 answer
146 views

Calculating numbers that require greater than 16 byte data type in C++

I'm working on a function to calculate Fibonacci numbers and return the lowest value digit of that number in C++. I've found that in C++, the largest data type is __uint128_t, which gives me 16 bytes ...
Dwayne St George's user avatar
0 votes
0 answers
36 views

Create Clamped Datatype [duplicate]

I want to create a c++ datatype that will always clamp it's value between 0.0 and 360.0. Other than that, it should behave exactly as a double. I would use it like this: degree my_num1 = 3.5; //...
Invader88's user avatar
0 votes
1 answer
25 views

Issues with Pandas Dataframe Dtype when importing data from google worksheets

When importing a table from my google worksheet, the data type for my columns not inheriting the data types from my worksheet. I have 14 columns containing text, float and dates. Two of the columns ...
Hemal Davda's user avatar
2 votes
1 answer
47 views

Understanding Array comparison while using custom data types with numpy

i have a question regarding comparison with numpy arrays while using cusom data types. Here is my code: import numpy as np class Expr: def __add__(self, other): return Add(self, other) ...
Max Berktold's user avatar
0 votes
1 answer
36 views

Numbers coming from postgresql as text into powerbi. Facing issue while converting them to number within Power bi

I am fetching data from postgre sql datasource, The keyfigure columns are already in decimal format in postgresql for ex: 0.4. When imported into powerbi I can still see the value as 0.6, but in text ...
Vid Ya's user avatar
  • 1
1 vote
1 answer
99 views

Azure Data Factory JSON Output Formatting Issue

I'm encountering an issue with formatting the JSON output in Azure Data Factory. My desired JSON output structure is as follows: { "AccessionNum": "12345", "test": [ ...
Jerold Joel's user avatar
0 votes
1 answer
74 views

Customized datatype

I am trying to create a datatype with rules, so to speak, and I am unsure where to start (assuming it is possible!). For example, I have a datatype, a pair (kind, value) defined as a record. I would ...
Alicia M.'s user avatar
0 votes
1 answer
347 views

How to avoid Duplicates of a combination of columns in SharePoint Lists

I have a SharePoint List that contains 3 crucial columns: [Application] - a lookup column from another table called 'Applications' [Stakeholder] - a person or group data type [Role] - a choice column ...
Conner McCloskey's user avatar
0 votes
0 answers
19 views

Create custom Tensorflow dataset .tiff files

I am new on Tensorflow, and I would like to create a custom dataset for using ESRGAN next. The issues I meet are : I have (low_resolution, high_resolution) images as couple of data All my images are ....
salomepx's user avatar
0 votes
1 answer
675 views

How to change date format in snowflake without changing date type to varchar?

I need to change only format of date without changing data type in one of the tables in snowflake, so i can't change global date format of my system. If i use this statement is showing the format by ...
pm1359's user avatar
  • 632
1 vote
1 answer
63 views

How do you multiply large numbers of unknown length

I have two numbers I need multiplied together. Problem is that they're too big to fit in any basic data types, so I can't just use an intor long. I have an array list of integers, each representing 6 ...
Kevin Holt's user avatar
-1 votes
3 answers
174 views

How to 'edit' other item rows? (JS)

I can edit/update only at the first item row. I can add new item rows but I can not edit/update the new item rows. I added 'console.log(~)' but seems like the other rows are not linked at all. to edit/...
Chocolate covered Strawberry's user avatar
0 votes
1 answer
454 views

custom stack peek method in java

I have an assignment due soon and my professor doesn't actually teach our class. He shows us powerpoints from our textbook and expects us to be able to solve problems with that minor information. ...
newguy's user avatar
  • 25

15 30 50 per page
1
2 3 4 5
17