RE: [BLACKBOX] Type transfer

From: null <">
Date: Mon, 17 Oct 2011 13:37:31 +0000

----boundary-LibPST-iamunique-1410215546_-_-
Content-type: text/plain

> Shouldn't LONG(n) be enough? It would convert INTEGER to LONGINT.

it is enough, but the code size ist 8 bytes longer than Bob's
empty Float ...

To ensure against overflow, you could compile (at least during
development) with

DevCompiler.CompileOpt('+')

instead of the standard

DevCompiler.Compile

Compile with DevCompiler.CompileOpt('+') Bob's RdcFloat traps with
an "integer overflow" in line x := n * n; .

I don't know why overflow checks are disabled by default. Do they
really add such an overhead that it is worth to disable them?

The documentation for compiler options below has been posted to the
mailing list by Gerard Meunier on 13. June 2006. I stdcoded his pac
coded view ...

--
  Bernhard 
---------------------------------------------------------------------------
StdCoder.Decode ..,, ..ey....3QwdONl9RhOO9vRbf9b8R7fJHPNGomCrlAyIhgs,CbKBhZ
 xi2,CoruKu4qouqm8rtuGfa4.hOO9vRb1Y66wb8RTfQ9vQRtIdvPZHWKqtCa.E.U5Urw,2U.Qk
 lbeZ3DPuP7PNNvQRtId9NPuP7X2hgnRAXDJ.QCPuP7PNG2sET1.PuP.MHT9N9nt.G2sIdvPZnt
 gcghghZcZRC8T0E.k.r.T.nP12.,.js,cU.ktAcoZimBhWhiohgnZcZRC.,.R,0.p.0.4.I3Vu
 I3.0E65.2.c8fP3d8mBE,5TeEdKLqKKtCLLCJuIepZBGomCrl0ksH3.bf9ZORNPNG20EtD.0E.
 6fs,sc6.,k,,UnpZHldGrwmqmGomCb.AS.c9Ajg,0EtX.0.U6UO,,U00.umUG5.E.Y.2..EGE.
 4.2.2YXK96.VuI3EeH71.0.k.8Mtf.2.W10.e,2.AU.Ue2Uk2w1.,6YUEU.A.6.EJK5Etj.2.8
 5S.q32.5gwP.0.E2kVE.0.3gwT.0..232U,.,usHEECOh2wAC.VuI3..5.1EUCy22.,6.EJ..0
 E.sRs,MOE.QEU..2,w72U.E,,0..Y42U06.0EkHR52YXK9Vfl2eH,E.Q.I.,S3NEkHB1.,6.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c1aKtUVwY7gA.4qtC5um4ukt.A2.klW4oZBs7Lt7HMORvMNPR7119PC4.ynHako.
 6OHfPum4wY.xY7Ahi,MNZfQYemFLqE5YYbAVd,krgAoZBIUL3hZphUQgjhBAhixgUAgUghjNR6
 PHvQd96CorqKsMNPuP7PRYddRiotPZ965uPP1GJoaqtaGK0moGrHCLE0rrCrtaKlmqmYijNM79
 N,7RFXnBghhgUQgcVX,equCLu0mkOKuKKt0mkuqw0mqy42YiBghhgU2ZrBhoFryKECLs4qlKKE
 8qmGrvKqmuqImGEGrr0Wk3igBjUYichA5vPZfQ9vQVvPR9NHfPDnr.0GuyadZin3YXxhhVVZCT
 HL8ssHpmWb1xhiZimxhgZhZJinpZH7N58RZ9P7ONbvM,Mw..c95uPR9R.70,kVkkEt.85...CL
 L.U2V.IS6.630E.0.aU.E..k.8c9U.2.44S.a30E.QEU..2,w52U.E,,0..Y22U,2.2.222.,6
 .DOa1kDz41.1.,6.IEJ.0..I16.M.EJ0Ekn6,U.2m,.,..sV,...
 --- end of encoding ---
----boundary-LibPST-iamunique-1410215546_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwID4gU2hvdWxkbid0IExPTkcobikgYmUgZW5vdWdo
PyBJdCB3b3VsZCBjb252ZXJ0IElOVEVHRVIgdG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
dWt0LkEyLmtsVzRvWkJzN0x0N0hNT1J2TU5QUjcxMTlQQzQueW5IYWtvLlxwYXINCiA2T0hmUHVt
NHdZLnhZN0FoaSxNTlpmUVllbUZMcUU1WVliQVZkLGtyZ0FvWkJJVUwzaFpwaFVRZ2poQkFoaXhn
VUFnVWdoak5SNlxwYXINCiBQSHZRZDk2Q29ycUtzTU5QdVA3UFJZZGRSaW90UFo5NjV1UFAxR0pv
YXF0YUdLMG1vR3JIQ0xFMHJyQ3J0YUtsbXFtWWlqTk03OVxwYXINCiBOLDdSRlhuQmdoaGdVUWdj
VlgsZXF1Q0x1MG1rT0t1S0t0MG1rdXF3MG1xeTQyWWlCZ2hoZ1UyWnJCaG9GcnlLRUNMczRxbEtL
RVxwYXINCiA4cW1HcnZLcW11cUltR0VHcnIwV2szaWdCalVZaWNoQTV2UFpmUTl2UVZ2UFI5Tkhm
UERuci4wR3V5YWRaaW4zWVh4aGhWVlpDVFxwYXINCiBITDhzc0hwbVdiMXhoaVppbXhoZ1poWkpp
bnBaSDdONThSWjlQN09OYnZNLE13Li5jOTV1UFI5Ui43MCxrVmtrRXQuODUuLi5DTFxwYXINCiBM
LlUyVi5JUzYuNjMwRS4wLmFVLkUuLmsuOGM5VS4yLjQ0Uy5hMzBFLlFFVS4uMix3NTJVLkUsLDAu
LlkyMlUsMi4yLjIyMi4sNlxwYXINCiAuRE9hMWtEejQxLjEuLDYuSUVKLjAuLkkxNi5NLkVKMEVr
bjYsVS4ybSwuLC4uc1YsLi4uXHBhcg0KIC0tLSBlbmQgb2YgZW5jb2RpbmcgfX0AclMweHhSMw==
----boundary-LibPST-iamunique-1410215546_-_---
Received on Mon Oct 17 2011 - 15:37:31 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:10 UTC