Discuss Scratch

Logus
New to Scratch
1 post

Approssimazione numerica

Ciao a tutti,
sto facendo qualche esperimento con le potenze e mi è venuta fuori una cosa strana, con l'indicazione di due zeri dopo la virgola.

Per valori più grandi (es. 2^64 e 2^63 ) il numero non risulta neanche corretto.

Per il calcolo della potenza ho utilizzato un ciclo for.

Chi può aiutarmi?

Grazie infinite

Last edited by Logus (Feb. 8, 2018 18:45:15)

Botcho_Otkho
Scratcher
1000+ posts

Approssimazione numerica

Non ho ben capito cosa intendi.

CONSIDER READING THIS, PLEASE:
Don't write things someone already said. It's useless.
If you want to point a duplicate, please don't write just “Duplicate” when you don't have the link. At least say that you can't do it because -reasons-. Writing it and then going away does not help.
Don't write “I agree”, “this” or just quote without adding something constructive. It doesn't help.
No supporting because “you can do this elsewhere” is not a valid reason. If it was, the suggestion forum wouldn't exist because you can do everything elsewhere.
A simple workaround is not, never was and will never be a reason to no-support a suggestion. There are plenty of blocks with simple workarounds in Scratch right now, and there's a reason if the ST still added them.
No supporting because “it can turn into a competition” is not a reason, since it can happen everywhere (such as follows). Post count: 1900+

Powered by DjangoBB

Standard | Mobile