MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / log_sum_alt

Function log_sum_alt

example_code/item_039.py:63–65  ·  view source on GitHub ↗
(value, log_total)

Source from the content-addressed store, hash-verified

61
62print("Example 2")
63def log_sum_alt(value, log_total): # Changed
64 log_value = math.log(value)
65 return log_total + log_value
66
67
68print("Example 3")

Callers 2

item_039.pyFile · 0.85
log_sum_for_reduceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected