Questions tagged [custom-data-type]
The custom-data-type tag has no usage guidance.
custom-data-type
248
questions
-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 ...
-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 "...
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 ...
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; //...
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 ...
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)
...
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 ...
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": [
...
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 ...
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
...
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 ....
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 ...
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 ...
-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/...
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.
...