• AVR Freaks

Helpful ReplyHot!C18 48bit addition to form kWh counter. (from page 3)

Page: < 12345.. > >> Showing page 2 of 6
Author
jtemples
عُضْوٌ جَدِيد
  • Total Posts : 11984
  • Reward points : 0
  • Joined: 2004/02/13 12:31:19
  • Location: Southern California
  • Status: offline
Re: 64bit addition. 2020/06/07 14:35:54 (permalink)
+2 (6)
WHEN TROLLS COLLIDE!

 
Have they made a movie out of that yet?
#21
1and0
Access is Denied
  • Total Posts : 11162
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: 64bit addition. 2020/06/07 14:42:36 (permalink)
+2 (8)
jtemples
WHEN TROLLS COLLIDE!

 
Have they made a movie out of that yet?



Will it be on Disney Plus?
 
#22
dan1138
Super Member
  • Total Posts : 3858
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: 64bit addition. 2020/06/07 14:45:38 (permalink)
+3 (5)
jtemples
WHEN TROLLS COLLIDE!

Have they made a movie out of that yet?



In the Octagon to an internet time limit!
 
Don't miss a moment of the ACTION!
 
Observe the snark! Leaps of sarcasm! Pummelings of snippy-ness!
#23
Gort2015
Klaatu Barada Nikto
  • Total Posts : 4003
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: 64bit addition. 2020/06/07 15:48:40 (permalink)
-1 (5)
Except that I am not a Troll, nor is Andy.
 
scanhunt_42
https://www.youtube.com/watch?v=SwfeuGH2wdA

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#24
ric
Super Member
  • Total Posts : 28422
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: How a simple question can cause "stoning". 2020/06/07 22:41:45 (permalink)
+4 (8)
andy_n
Hi,
 
Here you can see how a simple question can cause "stoning". The question was: 64bit addition with C18.
 
Internet. I can remember the times, you could communicate on the Internet, ask questions, exchange experiences.
Today, internet is used by haters with psychological problems.
Face to face they would not say a word and anonymously they are the greatest heroes.
 
"Andy Pandy Pudding and Pie, kissed the girls and made them cry."
How old or how limited are people who say something like that in a programming forum.
 
For me there is no forum on the Internet what I can use.
A good idea has become a nonsense, but restricted people have fun.
 
Regards Andy (Pandy). Kindergarten! 
 
 P.S. To admin: you can delete this account.

Entire post quoted so you can't delete this one.
One user was abusive towards you, and you condemn the whole forum?
I was quite prepared to help you, but you have to play your part and ask a clear question. It's a two way street.
 
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#25
NKurzman
A Guy on the Net
  • Total Posts : 18917
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: How a simple question can cause "stoning". 2020/06/07 23:59:49 (permalink)
+4 (4)
The original question is gone so no one that was not part of the original conversation can have an opinion on whether was fair or not.

However you appear to be new to this specific fourm. Some of the people you are complaining about have health literally tens of thousands of people.
And then doing that certain types of questions can not to get answered unless you have shown you have done some work.
1. Can you read the data sheet for me?
2. Can you write code for me?
3. Can you do my homework?

And if somebody ask you a question you should answer it and not tell them they do not need that information to answer your question.
Many questions here do not have enough information to be answered correctly.
But sometimes the posters here Are more than willing to play the game of guess what the OP really meant.

Also note the admin will not delete posts or accounts here.
#26
andy_n
Senior Member
  • Total Posts : 155
  • Reward points : 0
  • Status: offline
Flagged as Spam (1)
Re: 64bit addition. 2020/06/12 03:04:13 (permalink)
-3 (3)
 
Hi,
 
Internet. I can remember the times, you could communicate on the Internet,
ask questions, exchange experiences, review ideas and viewpoints.
 
Today, forums are controlled by haters with psychological problems.
Face to face they would not say a word and anonymously they are the greatest heroes.
 
"Andy Pandy Pudding and Pie, kissed the girls and made them cry."
How old or how limited are people who say something like that in a programming forum.
 
Another strategy: do not answer, ask first, no matter how dull it is.
Lot of questions, more posts. More posts ... no idea. Is there a cup for more posts?
 
My own forum has been destroyed by such people.
 
For me there is no forum on the Internet what I can use.
A good idea has become a nonsense, but restricted people have fun.
 
Sorry, I do not reply to any posts more. Insult enough for this week.
In the first two posts I ask for an answer and not a question. After several insults, I deleted them.
 
I know it's nonsense to write here. All users who would understand it are no longer there.
I fight with windmills.
 
Regards Andy (Pandy). Kindergarten! 
#27
Gort2015
Klaatu Barada Nikto
  • Total Posts : 4003
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: 64bit addition. 2020/06/12 04:24:06 (permalink)
-4 (4)
Andy Pandy,
Water under the bridge, no one cares either way.
 
Be calm, roll a joint.

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#28
ric
Super Member
  • Total Posts : 28422
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: 64bit addition. 2020/06/12 04:54:09 (permalink)
+5 (5)
Gort2015
Andy Pandy,
Water under the bridge, no one cares either way.
 
Be calm, roll a joint.

I hope you're proud of yourself Marty.
All this was totally unnecessary.
Did you miss needling people?
 
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#29
Gort2015
Klaatu Barada Nikto
  • Total Posts : 4003
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: 64bit addition. 2020/06/12 05:27:06 (permalink)
-4 (4)
I am proud of myself, in which respect?
It's not the end of the World ric.
 
Give him a break.
 
Needling who?
I am entitled to my opinion just like you are.
 
You need some humour.
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#30
ric
Super Member
  • Total Posts : 28422
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: 64bit addition. 2020/06/12 05:34:49 (permalink)
+5 (5)
No, you need to stop being nasty to people you don't know.
What do you think you contributed to this topic?
What you saw as humour the OP took as personal attacks.
He's not perfect either, but you just poured petrol on the fire.
As  I already said, it was entirely unnecessary.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#31
Gort2015
Klaatu Barada Nikto
  • Total Posts : 4003
  • Reward points : 0
  • Joined: 2015/04/30 10:49:57
  • Location: 0
  • Status: offline
Re: 64bit addition. 2020/06/12 06:00:35 (permalink)
-4 (4)
I did not contribute anything, I may have later, who knows.
You only questioned him on his uncertainty between 40 and
64bit plus XC8.
 
I said to give a break, you can't be fairer than that.
 
Times like these, a lot stress is going on, we are get it ric.
 

MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
https://www.youtube.com/watch?v=Iu1qa8N2ID0
+ ST:Continues, "What Ships are Made for", Q's back.
#32
andy_n
Senior Member
  • Total Posts : 155
  • Reward points : 0
  • Status: offline
Re: 64bit addition. 2020/06/12 07:23:42 (permalink)
0
 
I am not water and "What a dick." is not humor!!!
 
 
#33
Hen
Senior Member
  • Total Posts : 92
  • Reward points : 0
  • Joined: 2018/10/24 04:01:44
  • Location: 0
  • Status: offline
Re: 64bit addition. 2020/06/12 20:55:58 (permalink)
+3 (3)
Are you guys for real?
There are alot worse problems out there on the streets, don't let them in here.
#34
JPortici
Super Member
  • Total Posts : 1164
  • Reward points : 0
  • Joined: 2012/11/17 06:27:45
  • Location: Grappaland
  • Status: offline
Re: 64bit addition. 2020/06/12 21:22:40 (permalink)
+3 (5)
Ric, aside from what Gort did (also extremely annoying) i remember the OP started attacking you when you didn't give him the solution to his very trivial problem because he "was feeling lazy".
 
And gort kept going on because he kept going on with the shitty attitude.
But as he said, nobody cares about the OP or this silly thread.
If the OP instead of being a coward and editing his posts and twisting his words to look better in the eyes of others will still need help and start another thread with another question and another attitude, of course he will be helped, that goes without question
 
In fact next time he demands to do something for him i'll do it with a smile, but before that i'll want 100€ upfront
#35
andy_n
Senior Member
  • Total Posts : 155
  • Reward points : 0
  • Status: offline
Re: 64bit addition. 2020/06/12 23:06:08 (permalink)
0
 
Ok people, I give up.
 
ric thanks for understanding earlier.
Sorry, but the many questions on simple question.
My own forum died like this. I overreacted.
Hen, you're right but hate is just starting here. Anonymous.
JPortici, are you the oil pourer? We have just started to clarify it.
Gort, be honest, you're 12.
 
Have fun here.grin: grin
#36
Ken_Pergola
Super Member
  • Total Posts : 2245
  • Reward points : 0
  • Joined: 2003/11/07 12:48:48
  • Status: offline
Re: 64bit addition. 2020/06/13 00:16:20 (permalink) ☄ Helpfulby andy_n 2020/06/13 00:54:14
+5 (5)
Tabula rasa time -- let's all take a step back, find forgiveness in our hearts on all sides, and start over and stay technical.
 
Andy,
Could you please summarize the current state of the issue you are trying to overcome?
Things went south pretty fast and I lost track of the technical issue so it is probably best to start a brand new thread.
 
I think you were trying to do addition in C on data larger than 32 bits, correct?
 
This thread discusses XC8 support for a 'long long' (64-bits):
https://www.microchip.com/forums/m1091489.aspx
 
I think you did not want the full 64-bits but you could cherry-pick whatever you need afterwards.
 
Let's start over and start at the high-level and work towards a solution. I'm not an XC8 expert but there are many Microchip Forum members who are well-versed with it. I am not certain without doing research on my own if any C standard supports 'int64_t' and 'uint64_t' in '<stdint.h>' -- you might want to take a peek in that file. Also take a look at the latest XC8 User's Guide.
 
I hope this helps somewhat.
 
Best regards,
 
Ken
#37
andy_n
Senior Member
  • Total Posts : 155
  • Reward points : 0
  • Status: offline
Re: 64bit addition. 2020/06/13 00:54:09 (permalink)
0
Hello Ken,
I agree with you 110%! Thanks a lot.
 
I am working with C18, but XC8 cannot add 64-bit (or not).
In GenericTypeDefs.h it is UINT64, but the compiler uses UINT32
I wanted to add uint16 every second for years. I have no more RAM and thought of 40bit variable to save memory.
I took float for it. I still don't know if accuracy is good. With integer addition, there would be no accuracy problem.
 
Regards Andy
#38
ric
Super Member
  • Total Posts : 28422
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: offline
Re: 64bit addition. 2020/06/13 01:01:57 (permalink)
+1 (1)
andy_n
I am working with C18, but XC8 cannot add 64-bit (or not).

Yes it can. I told you XC8 can in post#2.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#39
andy_n
Senior Member
  • Total Posts : 155
  • Reward points : 0
  • Status: offline
Re: 64bit addition. 2020/06/13 01:04:29 (permalink)
0
 
Just calculated again: 40 bit is only enough for about 200 days.
 
ric: I am working with C18 since 15 years. The project is huge. I can not change it (for 64bit addition only).
post edited by andy_n - 2020/06/13 01:08:23
#40
Page: < 12345.. > >> Showing page 2 of 6
Jump to:
© 2020 APG vNext Commercial Version 4.5