Hacker News new | ask | show | jobs
by vbezhenar 1863 days ago
int is signed.
3 comments

It would be possible and kind of hilarious to use a negative offset from year 2b.
You don't want to go back 2 billion years from 1900?
on x86 and arm. not on s390.
In a Java Virtual Machine, it is a 32-bit signed value: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-2.ht...
my bad you're right. I got confused on if we are on the java or on the c side of things, because we discussed 'verbatim copy of c struct... fields'

apologies.