/ Mac Power 1997 January
/ macpower199701.bin / AMUG / Programming_10 / Videotoolbox 96-08-22-c.sit / VideoToolbox / VideoToolboxSources / Exponential.c ![]() | < prev | next > |
MacBinary | 1995-07-19 | 1.0 KB | [TEXT/CWIE] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
66% | dexvert | Compact Compressed (Unix) (archive/compact) | ext | Supported |
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Wed Jul 19 19:50:43 1995, modified Wed Jul 19 19:50:43 1995, creator 'CWIE', type ASCII, 283 bytes "Exponential.c" , at 0x19b 498 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [CWIE] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 45 78 70 6f 6e 65 | 6e 74 69 61 6c 2e 63 00 |..Expone|ntial.c.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 01 1b 00 | 00 01 f2 ac 33 4a d3 ac |........|....3J..|
|00000060| 33 4a d3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |3J......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6f cc 00 00 |........|....o...|
|00000080| 2f 2a 20 45 78 70 6f 6e | 65 6e 74 69 61 6c 2e 63 |/* Expon|ential.c|
|00000090| 20 0d 52 6f 75 74 69 6e | 65 73 20 72 65 6c 61 74 | .Routin|es relat|
|000000a0| 65 64 20 74 6f 20 74 68 | 65 20 65 78 70 6f 6e 65 |ed to th|e expone|
|000000b0| 6e 74 69 61 6c 20 70 72 | 6f 62 61 62 69 6c 69 74 |ntial pr|obabilit|
|000000c0| 79 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 2e 0d |y distri|bution..|
|000000d0| 41 6c 73 6f 20 73 65 65 | 3a 20 42 69 6e 6f 6d 69 |Also see|: Binomi|
|000000e0| 61 6c 2e 63 2c 20 43 68 | 69 53 71 75 61 72 65 2e |al.c, Ch|iSquare.|
|000000f0| 63 2c 20 4e 6f 72 6d 61 | 6c 2e 63 2c 20 55 6e 69 |c, Norma|l.c, Uni|
|00000100| 66 6f 72 6d 2e 63 0d 2a | 2f 0d 64 6f 75 62 6c 65 |form.c.*|/.double|
|00000110| 20 45 78 70 6f 6e 65 6e | 74 69 61 6c 50 64 66 28 | Exponen|tialPdf(|
|00000120| 64 6f 75 62 6c 65 20 78 | 29 3b 0d 0d 64 6f 75 62 |double x|);..doub|
|00000130| 6c 65 20 45 78 70 6f 6e | 65 6e 74 69 61 6c 50 64 |le Expon|entialPd|
|00000140| 66 28 64 6f 75 62 6c 65 | 20 78 29 0d 2f 2a 20 4d |f(double| x)./* M|
|00000150| 65 61 6e 20 61 6e 64 20 | 76 61 72 69 61 6e 63 65 |ean and |variance|
|00000160| 20 61 72 65 20 31 2e 20 | 2a 2f 0d 7b 0d 09 69 66 | are 1. |*/.{..if|
|00000170| 28 78 3c 30 2e 30 29 72 | 65 74 75 72 6e 20 30 2e |(x<0.0)r|eturn 0.|
|00000180| 30 3b 0d 09 65 6c 73 65 | 20 72 65 74 75 72 6e 20 |0;..else| return |
|00000190| 65 78 70 28 2d 78 29 3b | 0d 7d 0d 00 00 00 00 00 |exp(-x);|.}......|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 01 00 00 00 01 94 | 00 00 00 94 00 00 00 5e |........|.......^|
|00000210| 00 00 00 00 02 00 00 00 | 00 00 20 00 2e a9 34 0d |........|.. ...4.|
|00000220| 8f 00 00 00 b0 ff ff 00 | 00 2d c5 a9 34 0d d5 ff |........|.-..4...|
|00000230| 0d 45 78 70 6f 6e 65 6e | 74 69 61 6c 2e 63 02 00 |.Exponen|tial.c..|
|00000240| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 14 01 80 |..TEXTCW|IE......|
|00000250| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 14 01 80 |..TEXTCW|IE......|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 a9 34 28 09 00 00 | 01 1b 00 00 01 f2 00 00 |...4(...|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 1e 00 78 00 18 | 01 8d 02 3d 00 78 00 18 |.....x..|...=.x..|
|00000310| 01 8d 02 3d 00 00 00 00 | 00 00 00 00 00 00 00 00 |...=....|........|
|00000320| 00 00 00 00 00 1a 00 01 | 00 00 00 c6 00 00 00 d4 |........|........|
|00000330| 0f 45 78 70 6f 6e 65 6e | 74 69 61 6c 50 64 66 00 |.Exponen|tialPdf.|
|00000340| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 03 | 00 04 00 3d 00 03 01 a0 |........|...=....|
|00000370| 02 7d 00 3d 00 03 01 a0 | 02 7d ac 33 12 96 00 00 |.}.=....|.}.3....|
|00000380| 00 ea 00 00 00 ea 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|00000390| 00 01 00 01 00 00 01 00 | 00 00 01 94 00 00 00 94 |........|........|
|000003a0| 00 00 00 5e 00 59 82 58 | 2a 9a 00 00 00 1c 00 5e |...^.Y.X|*......^|
|000003b0| 00 01 4d 50 53 52 00 02 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|000003c0| 00 36 03 f0 ff ff 00 00 | 00 00 00 00 00 00 03 ef |.6......|........|
|000003d0| ff ff 00 00 00 22 00 00 | 00 00 03 ed ff ff 00 00 |....."..|........|
|000003e0| 00 40 00 00 00 00 03 f0 | ff ff 00 00 00 8c 00 00 |.@......|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+