Re: Trying to use gdb on OS X

new topic     » goto parent     » topic index » view thread      » older message » newer message
jaygade said...
mattlewis said...

In cases where that's big enough, yes it will work. The problem comes when you have a value that's too large for the target type. I hadn't even considered stuff like SSE instructions.

How do you mean?

I don't mean to convert all doubles to integers, only doubles capable of representing Euphoria integers and C pointers.

The question becomes, what do we do with input that is beyond that? It's very possible to get values too big for a 64-bit integer coming out of a euphoria atom that has some of its lowest 32 bits set. It's not really a common or particularly useful thing to do, but someone will do it and we should figure out how we're going to handle it. We could simply throw an error, or just say behavior is undefined when the value is too big.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu